You are here

function feedback_theme in Feedback 3.x

Same name and namespace in other branches
  1. 6.2 feedback.module \feedback_theme()
  2. 7.2 feedback.module \feedback_theme()

Implements hook_theme().

File

./feedback.module, line 28
Contains feedback.module..

Code

function feedback_theme() {
  $theme = [];
  $theme['feedback_message'] = [
    'render element' => 'elements',
    'file' => 'feedback_message.page.inc',
    'template' => 'feedback_message',
  ];
  $theme['feedback_message_content_add_list'] = [
    'render element' => 'content',
    'variables' => [
      'content' => NULL,
    ],
    'file' => 'feedback_message.page.inc',
  ];
  return $theme;
}