function picture_mapping_load

Load one picture by its identifier.

@todo Needed for menu_callback

Parameters

int $id: The id of the picture mapping to load.

Return value

Drupal\picture\Picture The entity object, or FALSE if there is no entity with the given id.

See also

http://drupal.org/node/1798214

1 string reference to 'picture_mapping_load'

File

drupal/core/modules/picture/picture.module, line 115
Picture display formatter for image fields.

Code

function picture_mapping_load($id) {
  return entity_load('picture_mapping', $id);
}