You are here

function site_status_message_theme in Site Status Message 7

Same name and namespace in other branches
  1. 8 site_status_message.module \site_status_message_theme()

Implements hook_theme().

File

./site_status_message.module, line 96
Site Status Message provides a configurable page top message.

Code

function site_status_message_theme($existing, $type, $theme, $path) {
  return array(
    'site_status_message' => array(
      'arguments' => array(
        'message' => NULL,
        'link' => NULL,
      ),
      'template' => 'site-status-message',
      'path' => drupal_get_path('module', 'site_status_message') . '/template',
    ),
  );
}