function eck_entity_type_features_export_options in Entity Construction Kit (ECK) 7
Same name and namespace in other branches
- 7.3 eck.features.inc \eck_entity_type_features_export_options()
- 7.2 eck.features.inc \eck_entity_type_features_export_options()
Implementation of hook_features_export_options().
File
- ./
eck.features.inc, line 11
Code
function eck_entity_type_features_export_options() {
module_load_include('inc', 'eck', 'eck.entity_type');
$entity_types = array();
foreach (eck__entity_type__load() as $entity_type) {
$entity_types[$entity_type->name] = $entity_type->label;
}
return $entity_types;
}