You are here

function uuid_features_api in Universally Unique IDentifier 7

Implements hook_features_api().

The Features support consists of exporting entities from a Deploy <em>fetch-only</em> plan. Deploy is only required to generate the feature it self.

The reason why we depend on Deploy for the generation of the content is because Deploy has the kind of dependency detection framework we need, to identify all dependencies for all entities.

File

./uuid.module, line 197
Main module functions for the uuid module.

Code

function uuid_features_api() {
  return array(
    'uuid_entities' => array(
      'name' => t('UUID entities'),
      'default_hook' => 'uuid_default_entities',
      'default_file' => FEATURES_DEFAULTS_INCLUDED,
      'feature_source' => TRUE,
      'file' => drupal_get_path('module', 'uuid') . '/uuid.features.inc',
    ),
  );
}