You are here

function disable_messages_theme in Disable Messages 7

Same name and namespace in other branches
  1. 6 disable_messages.module \disable_messages_theme()

Implements hook_theme().

File

./disable_messages.module, line 85
The disable_messages module file.

Code

function disable_messages_theme($existing, $type, $theme, $path) {
  $items = array();

  // Expose a disable_messages_status_messages theme hook that can be
  // overridden by the themer to override the message display.
  $items['disable_messages_status_messages'] = array(
    'variables' => array(
      'messages' => NULL,
    ),
  );
  return $items;
}