You are here

function _notifications_ui_node_options in Notifications 6

Same name and namespace in other branches
  1. 6.4 notifications_ui/notifications_ui.admin.inc \_notifications_ui_node_options()
  2. 6.2 notifications_ui/notifications_ui.module \_notifications_ui_node_options()
  3. 6.3 notifications_ui/notifications_ui.module \_notifications_ui_node_options()

Allowed options for content types

2 calls to _notifications_ui_node_options()
notifications_ui_form_alter in notifications_ui/notifications_ui.module
Implementation of hook_form_alter()
notifications_ui_settings_form in notifications_ui/notifications_ui.pages.inc
Site-wide settings form.

File

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

Code

function _notifications_ui_node_options() {
  return array(
    'form' => t('<strong>In node form</strong>. A subscriptions subform will be available when creating or editing nodes.'),
    'comment' => t('<strong>In comment form</strong>. A subscriptions subform will be available when posting comments.'),
    'links' => t('<strong>Full node links</strong>. Subscription links will be displayed for full node pages.'),
    'teaserlinks' => t('<strong>Teaser node links</strong>. Subscription links will be displayed for node teasers.'),
    'subform' => t('<strong>Form on node pages</strong>. A collapsible subscriptions form will be displayed for full node pages.'),
    'block' => t('<strong>In block</strong>. Options will be displayed on the Subscriptions block when viewing a node.'),
  );
}