function semantic_fields_preset_load in Semantic Fields 7
Load specific/s preset
1 call to semantic_fields_preset_load()
- semantic_fields_preprocess_field in ./
semantic_fields.module - Implements hook_preprocess_HOOK().
2 string references to 'semantic_fields_preset_load'
- semantic_fields_ctools_export_ui.inc in plugins/
export_ui/ semantic_fields_ctools_export_ui.inc - Export UI functions
- semantic_fields_schema_1 in ./
semantic_fields.install - Defines our schema
File
- ./
semantic_fields.module, line 118 - The functionality of the module
Code
function semantic_fields_preset_load($name) {
ctools_include('export');
$result = ctools_export_load_object('semantic_fields_preset', 'names', array(
$name,
));
if (isset($result[$name])) {
return $result[$name];
}
}