You are here

function microdata_mappings_features_export_options in Microdata 7

Implements hook_features_export_options().

File

./microdata.features.inc, line 43
Provides Features integration for microdata.

Code

function microdata_mappings_features_export_options() {
  $bundles = array();
  foreach (entity_get_info() as $entity_type => $entity) {
    foreach ($entity['bundles'] as $bundle_name => $bundle) {
      $bundles[$entity_type . '-' . $bundle_name] = $entity['label'] . ': ' . $bundle['label'];
    }
  }
  return $bundles;
}