function custom_pub_features_api in Custom Publishing Options 7
Implements hook_features_api().
Return value
array
File
- ./
custom_pub.module, line 512 - Adds the ability to add Custom publishing options to the node Add/Edit forms.
Code
function custom_pub_features_api() {
return array(
'custom_pub' => array(
'name' => t('Custom Publishing Options'),
'feature_source' => TRUE,
'default_hook' => 'custom_pub_defaults',
'file' => drupal_get_path('module', 'custom_pub') . '/custom_pub.features.inc',
),
);
}