function subscriptions_ui_content_extra_fields in Subscriptions 6
Implementation of hook hook_content_extra_fields().
Enables CCK (admin/content/types/CONTENT_TYPE/fields) to configure the position of the Subscribe fieldset within the node.
File
- ./
subscriptions_ui.module, line 424 - Provides a user interface for Subscriptions.
Code
function subscriptions_ui_content_extra_fields($type_name) {
$extra = array();
if (!variable_get('subscriptions_form_in_block', 0)) {
$extra['subscriptions_ui'] = array(
'label' => t('Subscribe'),
'description' => t('!Subscriptions_UI module form.', array(
'!Subscriptions_UI' => 'Subscriptions UI',
)),
'weight' => 100,
);
}
return $extra;
}