function bean_admin_ui_features_api in Bean (for Drupal 7) 7
Implements hook_features_api().
File
- bean_admin_ui/
bean_admin_ui.module, line 150
Code
function bean_admin_ui_features_api() {
static $api = FALSE;
if (!$api) {
module_load_include('inc', 'features', 'includes/features.ctools');
$api = ctools_component_features_api('bean_admin_ui');
$api['bean_type']['name'] = 'Bean types';
$api['bean_type']['file'] = drupal_get_path('module', 'bean_admin_ui') . '/includes/features.inc';
}
return $api;
}