function workbench_moderation_features_api in Workbench Moderation 7
Same name and namespace in other branches
- 7.3 workbench_moderation.module \workbench_moderation_features_api()
Implements hook_features_api().
File
- ./
workbench_moderation.module, line 610 - Content moderation for Workbench.
Code
function workbench_moderation_features_api() {
return array(
'workbench_moderation_states' => array(
'name' => t('Workbench States'),
'default_hook' => 'workbench_moderation_export_states',
'feature_source' => TRUE,
'default_file' => FEATURES_DEFAULTS_INCLUDED,
'file' => drupal_get_path('module', 'workbench_moderation') . '/workbench_moderation.features.inc',
),
'workbench_moderation_transitions' => array(
'name' => t('Workbench Transitions'),
'default_hook' => 'workbench_moderation_export_transitions',
'feature_source' => TRUE,
'default_file' => FEATURES_DEFAULTS_INCLUDED,
'file' => drupal_get_path('module', 'workbench_moderation') . '/workbench_moderation.features.inc',
),
);
}