You are here

function absolute_messages_theme in Absolute Messages 6

Same name and namespace in other branches
  1. 7 absolute_messages.module \absolute_messages_theme()

Implementation of hook_theme().

File

./absolute_messages.module, line 69
Module displaying system messages in colored horizontal bars on top of the page, similar to Stack Overflow / Stack Exchange network notifications.

Code

function absolute_messages_theme() {
  $path = drupal_get_path('module', 'absolute_messages');
  return array(
    'absolute_messages_messages' => array(
      'arguments' => array(
        'variables' => NULL,
      ),
    ),
    'absolute_messages_wrapper' => array(
      'template' => 'absolute-messages-wrapper',
      'path' => "{$path}/theme",
      'arguments' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_message' => array(
      'template' => 'absolute-messages-message',
      'path' => "{$path}/theme",
      'arguments' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_dismiss_all' => array(
      'template' => 'absolute-messages-dismiss-all',
      'path' => "{$path}/theme",
      'arguments' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_grouped_message' => array(
      'arguments' => array(
        'vars' => NULL,
      ),
    ),
  );
}