You are here

function notifications_ui_notifications in Notifications 7

Same name and namespace in other branches
  1. 5 notifications_ui/notifications_ui.module \notifications_ui_notifications()
  2. 6 notifications_ui/notifications_ui.module \notifications_ui_notifications()
  3. 6.2 notifications_ui/notifications_ui.module \notifications_ui_notifications()
  4. 6.3 notifications_ui/notifications_ui.module \notifications_ui_notifications()

Implements hook_notifications()

File

notifications_ui/notifications_ui.module, line 88
User Interface for subscriptions modules

Code

function notifications_ui_notifications($op) {
  switch ($op) {
    case 'display options':

      // All types can be in block
      $types['subscriptions_block'] = array(
        '#title' => t('Subscriptions block'),
        '#description' => t('Display links or checkboxes on subscriptions block.'),
      );
      return $types;
  }
}