You are here

function _ctools_features_export_default_list in Features 7

Same name and namespace in other branches
  1. 6 includes/features.ctools.inc \_ctools_features_export_default_list()
  2. 7.2 includes/features.ctools.inc \_ctools_features_export_default_list()

Wrapper around ctools_export_default_list() for < 1.7 compatibility.

1 call to _ctools_features_export_default_list()
ctools_component_features_export_options in includes/features.ctools.inc
Master implementation of hook_features_export_options() for all ctools components.

File

includes/features.ctools.inc, line 311

Code

function _ctools_features_export_default_list($table, $schema) {
  if (ctools_api_version('1.7')) {
    return ctools_export_default_list($table, $schema);
  }
  elseif ($objects = ctools_export_load_object($table, 'all')) {
    return drupal_map_assoc(array_keys($objects));
  }
  return array();
}