function _ctools_features_export_crud_load in Features 6
Same name and namespace in other branches
- 7.2 includes/features.ctools.inc \_ctools_features_export_crud_load()
- 7 includes/features.ctools.inc \_ctools_features_export_crud_load()
Wrapper around ctools_export_crud_load() for < 1.7 compatibility.
2 calls to _ctools_features_export_crud_load()
- ctools_component_features_export in includes/
features.ctools.inc - Master implementation of hook_features_export() for all ctools components.
- ctools_component_features_export_render in includes/
features.ctools.inc - Master implementation of hook_features_export_render() for all ctools components.
File
- includes/
features.ctools.inc, line 264
Code
function _ctools_features_export_crud_load($table, $name) {
if (ctools_api_version('1.7')) {
return ctools_export_crud_load($table, $name);
}
elseif ($objects = ctools_export_load_object($table, 'names', array(
$name,
))) {
return array_shift($objects);
}
return FALSE;
}