You are here

function message_theme in Message 6

Same name and namespace in other branches
  1. 8 message.module \message_theme()
  2. 7 message.module \message_theme()

Implementation of hook_theme().

File

./message.module, line 69
API functions to manipulate messages.

Code

function message_theme() {

  // Safety: go away if CTools is not at an appropriate version.
  if (!module_invoke('ctools', 'api_version', MESSAGE_REQUIRED_CTOOLS_API)) {
    return;
  }
  $items = array();
  $items['message'] = array(
    'arguments' => array(
      'message' => array(),
    ),
  );
  return $items;
}