You are here

function Notifications_Custom_Subscription::form_element in Notifications 6.4

Format as a form element, which may be a visible checkbox or a hidden field

File

notifications_custom/notifications_custom.class.inc, line 63
Drupal Notifications Framework - Default class file

Class

Notifications_Custom_Subscription
Message destination class

Code

function form_element($user_registration = FALSE) {
  return $this
    ->is_visible($user_registration) ? $this
    ->form_checkbox($user_registration) : $this
    ->form_value();
}