function absolute_messages_theme in Absolute Messages 7
Same name and namespace in other branches
- 6 absolute_messages.module \absolute_messages_theme()
 
Implements hook_theme().
File
- ./
absolute_messages.module, line 73  - 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(
      'variables' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_wrapper' => array(
      'template' => 'absolute-messages-wrapper',
      'path' => "{$path}/theme",
      'variables' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_message' => array(
      'template' => 'absolute-messages-message',
      'path' => "{$path}/theme",
      'variables' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_dismiss_all' => array(
      'template' => 'absolute-messages-dismiss-all',
      'path' => "{$path}/theme",
      'variables' => array(
        'vars' => NULL,
      ),
    ),
    'absolute_messages_grouped_message' => array(
      'variables' => array(
        'vars' => NULL,
      ),
    ),
  );
}