You are here

function advanced_help_theme in Advanced Help 7

Same name and namespace in other branches
  1. 8 advanced_help.module \advanced_help_theme()
  2. 6 advanced_help.module \advanced_help_theme()

Implements hook_theme().

File

./advanced_help.module, line 128
Pluggable system to provide advanced help facilities for Drupal and modules.

Code

function advanced_help_theme() {
  $hooks['advanced_help_topic'] = array(
    'variables' => array(
      'module' => NULL,
      'topic' => NULL,
      'type' => 'icon',
    ),
  );
  $hooks['advanced_help_popup'] = array(
    'render element' => 'content',
    'template' => 'advanced-help-popup',
  );
  return $hooks;
}