You are here

function notifications_ui_block_configure in Notifications 7

Implements block_configure

File

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

Code

function notifications_ui_block_configure($delta = '') {

  // This example comes from node.module.
  $form = array();
  if ($delta == 'subscriptions') {
    $form['notifications_ui_block_display'] = array(
      '#type' => 'radios',
      '#title' => t('Subscription display'),
      '#default_value' => variable_get('notifications_ui_block_display', 'links'),
      '#options' => array(
        'links' => t('Links'),
        'checkboxes' => t('Checkboxes'),
      ),
    );
  }
  return $form;
}