You are here

function name_features_api in Name Field 7

Implements hook_features_api().

File

./name.module, line 1883
Defines an API for displaying and inputing names.

Code

function name_features_api() {
  return array(
    'namefield' => array(
      'name' => t('Name formats'),
      'default_hook' => 'name_default_formats',
      'feature_source' => TRUE,
      'file' => drupal_get_path('module', 'name') . '/includes/name.features.inc',
    ),
  );
}