function Notifications_Subscription::fields_edit_fieldset in Notifications 7
Get a subform to edit field elements.
Defaults to the subscription type method with this instance fields.
File
- ./
notifications.subscription.inc, line 1561 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription
- Common base for subscription type and subscription instance
Code
function fields_edit_fieldset($fields = NULL) {
$fields = isset($fields) ? $fields : $this
->get_fields();
$elements['fields'] = array(
'#type' => 'fieldset',
'#title' => t('Subscription fields'),
) + $this
->fields_edit_elements($fields);
return $elements;
}