You are here

function drupalchat_notifications_drupalchat_subpanel in DrupalChat 7.2

Same name and namespace in other branches
  1. 6.2 drupalchat_notifications/drupalchat_notifications.module \drupalchat_notifications_drupalchat_subpanel()
  2. 7 drupalchat_notifications/drupalchat_notifications.module \drupalchat_notifications_drupalchat_subpanel()

@todo Please document this function.

See also

http://drupal.org/node/1354

File

drupalchat_notifications/drupalchat_notifications.module, line 15
Module code for DrupalChat Notifications.

Code

function drupalchat_notifications_drupalchat_subpanel() {

  //JON COMMENTS
  return array(
    'notifications' => array(
      'name' => 'notifications',
      'icon' => theme('image', array(
        'path' => drupal_get_path('module', 'drupalchat_notifications') . '/icon.png',
        'width' => NULL,
        'height' => NULL,
        'alt' => array(
          'class' => 'icon',
        ),
      )),
      'text' => t('Notifications'),
      'contents' => theme('drupalchat_notifications_contents'),
    ),
  );
}