function workflow_access_features_api in Workflow 7.2
Same name and namespace in other branches
- 7 workflow_access/workflow_access.module \workflow_access_features_api()
Implements hook_features_api().
Tell the Features module that we intend to provide one exportable component.
File
- workflow_access/
workflow_access.module, line 108 - Provides node access permissions based on workflow states.
Code
function workflow_access_features_api() {
return array(
'workflow_access' => array(
'name' => t('Workflow access'),
'file' => drupal_get_path('module', 'workflow_access') . '/workflow_access.features.inc',
'default_hook' => 'workflow_access_features_default_settings',
'default_file' => FEATURES_DEFAULTS_INCLUDED,
'feature_source' => TRUE,
),
);
}