You are here

public function Notifications_Subscription::element_fields in Notifications 7

Get all fields (editable and not editable)

File

./notifications.subscription.inc, line 545
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

public function element_fields() {
  $element = array();
  if ($type_fields = $this
    ->get_type_fields()) {
    $elements['info'] = $this
      ->element_fields_info($fields);
  }
  if ($edit_fields = $this
    ->get_editable_fields()) {
    $elements['edit'] = $this
      ->element_fields_info($fields);
  }
  return $element;
}