public function Notifications_Subscription::element_fields_edit in Notifications 7
Get form elements for editable fields
1 call to Notifications_Subscription::element_fields_edit()
- Notifications_Subscription::form_edit in ./
notifications.subscription.inc - Get edit form for this subscription
File
- ./
notifications.subscription.inc, line 568 - Drupal Notifications Framework - Default class file
Class
- Notifications_Subscription
- Common base for subscription type and subscription instance
Code
public function element_fields_edit($fields) {
$elements = array(
'#tree' => TRUE,
);
foreach ($fields as $field) {
$elements[$field->position] = $field
->element_edit();
}
return $elements;
}