function semantic_panels_style_load in Semantic Panels 7.2
Implements 'load callback' for myobj exportables.
2 calls to semantic_panels_style_load()
- template_preprocess_semantic_panels_pane in plugins/
styles/ semantic_panels.inc - Preprocess variables for semantic-panels-pane.tpl.php
- _semantic_panels_style_exists in plugins/
styles/ semantic_panels.inc - Test for #machine_name type to see if an export exists.
1 string reference to 'semantic_panels_style_load'
- semantic_panels_schema in ./
semantic_panels.install - Implementation of hook_schema().
File
- ./
semantic_panels.module, line 228 - Semantic Panels.
Code
function semantic_panels_style_load($name) {
ctools_include('export');
$result = ctools_export_load_object('semantic_panels_style', 'names', array(
$name,
));
if (isset($result[$name])) {
return $result[$name];
}
}