function picture_mapping_load in Picture 7.2
Same name and namespace in other branches
- 7 picture.module \picture_mapping_load()
Load mappings.
6 calls to picture_mapping_load()
- drush_picture_mapping_flush in ./
picture.drush.inc - picture_field_formatter_picture_view in ./
picture.module - Helper function.
- picture_field_formatter_settings_picture_summary in ./
picture.module - Helper function.
- picture_file_formatter_picture_view in ./
picture.file_entity_1.inc - View callback for hook_file_formatter_info().
- template_preprocess_flexslider_picture_list in flexslider_picture/
theme/ flexslider_picture.theme.inc - Process the items and prepare the item slides to be rendered.
File
- ./
picture.module, line 100 - Picture formatter.
Code
function picture_mapping_load($name) {
ctools_include('export');
if ($name) {
$mappings = ctools_export_load_object('picture_mapping', 'names', array(
$name,
));
$mapping = isset($mappings[$name]) ? $mappings[$name] : FALSE;
return $mapping;
}
return FALSE;
}