You are here

function taxonomy_features_export_options in Features 7

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

Implements hook_features_export_options().

File

includes/features.taxonomy.inc, line 20

Code

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