You are here

function boxes_admin_ui_features_api in Boxes 7.2

Implements hook_features_api().

File

boxes_admin_ui/boxes_admin_ui.module, line 154
Boxes Admin UI

Code

function boxes_admin_ui_features_api() {
  static $api = FALSE;
  if (!$api) {
    module_load_include('inc', 'features', 'includes/features.ctools');
    $api = ctools_component_features_api('boxes_admin_ui');
    $api['box_type']['name'] = 'Box types';
    $api['box_type']['file'] = drupal_get_path('module', 'boxes_admin_ui') . '/includes/features.inc';
  }
  return $api;
}