You are here

function _ctools_configuration_export_crud_load in Configuration Management 7

Wrapper around ctools_export_crud_load() for < 1.7 compatibility.

2 calls to _ctools_configuration_export_crud_load()
ctools_component_configuration_export in includes/configuration.ctools.inc
Master implementation of hook_configuration_export() for all ctools components.
ctools_component_configuration_export_render in includes/configuration.ctools.inc
Master implementation of hook_configuration_export_render() for all ctools components.

File

includes/configuration.ctools.inc, line 280

Code

function _ctools_configuration_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;
}