function entity_features_api

7.x entity.features.inc entity_features_api()

Implements of hook_features_api().

File

entity/entity.features.inc, line 138
Provides Features integration for entity types using the CRUD API.

Code

function entity_features_api() {
  $items = array();
  foreach (entity_crud_get_info() as $type => $info) {
    if (!empty($info['exportable']) && $controller = entity_features_get_controller($type)) {
      $items += $controller->api();
    }
  }
  return $items;
}