You are here

function better_messages_theme in Better Messages 8

Same name and namespace in other branches
  1. 6.2 better_messages.module \better_messages_theme()
  2. 6 better_messages.module \better_messages_theme()
  3. 7.2 better_messages.module \better_messages_theme()
  4. 7 better_messages.module \better_messages_theme()

Implements hook_theme().

File

./better_messages.module, line 17
Better messages module file.

Code

function better_messages_theme() {
  return [
    'better_messages_wrapper' => [
      'render element' => 'element',
      'variables' => [
        'children' => '',
        'message_list' => [],
      ],
    ],
  ];
}