You are here

function Notifications_Custom_Subscription::get_default in Notifications 6.4

Get default value for a possible checkbox

1 call to Notifications_Custom_Subscription::get_default()
Notifications_Custom_Subscription::form_checkbox in notifications_custom/notifications_custom.class.inc
Format as a form checkbox

File

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

Class

Notifications_Custom_Subscription
Message destination class

Code

function get_default($user_registration = FALSE) {
  return $this
    ->is_instance() || $user_registration && $this
    ->get_type('default_value');
}