You are here

function taxonomy_features_export_options in Features 7.2

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

Implements hook_features_export_options().

File

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

Code

function taxonomy_features_export_options() {
  $vocabularies = array();
  foreach (taxonomy_get_vocabularies() as $vocabulary) {
    $vocabularies[$vocabulary->machine_name] = $vocabulary->name;
  }
  return $vocabularies;
}