function views_features_api in Features 6
Implementation of hook_features_api().
File
- includes/
features.views.inc, line 44
Code
function views_features_api() {
return array(
'views' => array(
'name' => t('Views'),
'feature_source' => TRUE,
'default_hook' => 'views_default_views',
'default_file' => FEATURES_DEFAULTS_CUSTOM,
'default_filename' => 'views_default',
),
'views_api' => array(
'name' => t('Views API'),
'feature_source' => FALSE,
'duplicates' => FEATURES_DUPLICATES_ALLOWED,
),
);
}