function widgets_features_api in Widgets 7
Implementation of hook_features_api().
Allow exporting of config wizards by the Features module.
File
- ./
widgets.module, line 1524 - Exposes global functionality for creating widget sets.
Code
function widgets_features_api() {
return array(
'widgets_definition' => array(
'name' => t('Widgets definitions'),
'feature_source' => TRUE,
'default_hook' => 'widgets_definition_defaults',
'default_file' => FEATURES_DEFAULTS_INCLUDED,
//'default_file' => 'widgets',
'file' => drupal_get_path('module', 'widgets') . '/widgets.features.inc',
),
);
}