You are here

function modr8_theme in modr8 7

Same name and namespace in other branches
  1. 6 modr8.module \modr8_theme()

Implements hook_theme().

File

./modr8.module, line 387
Easy dedicated content moderation

Code

function modr8_theme($existing, $type, $theme, $path) {
  return array(
    'modr8_message' => array(
      'variables' => array(
        'teaser',
        'nodetype',
        'op',
      ),
    ),
    'modr8_form' => array(
      'render element' => 'form',
    ),
    'moderation_event' => array(
      'variables' => array(
        'event',
      ),
    ),
    'modr8_note' => array(
      'variables' => array(
        'note',
      ),
    ),
  );
}