function content_type_groups_features_export_options in Content type groups 7.2
Same name and namespace in other branches
- 7 content_type_groups.features.inc \content_type_groups_features_export_options()
Implementation of hook_features_export_options().
This hook tells features what items of this component are available for export.
Return value
array A keyed array of items, suitable for use with a FormAPI select or checkboxes element.
File
- ./
content_type_groups.features.inc, line 15 - Export functionality for the content type groups module.
Code
function content_type_groups_features_export_options() {
// Get all group names, keyed by machine name
$options = ContentTypeGroup::fetch();
return $options;
}