You are here

function tb_megamenu_features_api in The Better Mega Menu 7

Implements hook_features_api().

File

./tb_megamenu.module, line 366

Code

function tb_megamenu_features_api() {
  return array(
    'tb_megamenu' => array(
      'name' => 'TB Mega Menu',
      'file' => drupal_get_path('module', 'tb_megamenu') . '/tb_megamenu.features.inc',
      'default_hook' => 'tb_megamenu_default_menus',
      // Write exports to a file with a name like
      // MODULENAME.features.tb_megamenu.inc.
      'default_file' => FEATURES_DEFAULTS_INCLUDED,
      // Offer this component as an option on the initial feature creation form.
      'feature_source' => TRUE,
    ),
  );
}