You are here

function taxonomy_features_api in Features 7.2

Same name and namespace in other branches
  1. 6 includes/features.taxonomy.inc \taxonomy_features_api()
  2. 7 includes/features.taxonomy.inc \taxonomy_features_api()

Implements hook_features_api().

1 call to taxonomy_features_api()
FeaturesEnableTestCase::testFeaturesGetComponents in tests/features.test
Run test for features_get_components on enable.

File

includes/features.taxonomy.inc, line 11
Features integration for 'taxonomy' module.

Code

function taxonomy_features_api() {
  return array(
    'taxonomy' => array(
      'name' => t('Taxonomy'),
      'feature_source' => TRUE,
      /* @see \hook_taxonomy_default_vocabularies() */

      /* @see \hook_taxonomy_default_vocabularies_alter() */
      'default_hook' => 'taxonomy_default_vocabularies',
      'default_file' => FEATURES_DEFAULTS_INCLUDED,
    ),
  );
}