You are here

function opigno_messaging_theme in Opigno messaging 3.x

Same name and namespace in other branches
  1. 8 opigno_messaging.module \opigno_messaging_theme()

Implements hook_theme().

File

./opigno_messaging.module, line 41
Contains opigno_messaging.module.

Code

function opigno_messaging_theme() {
  return [
    'opigno_messaging' => [
      'render element' => 'children',
    ],
    'opigno_messaging_modal' => [
      'variables' => [
        'title' => NULL,
        'body' => NULL,
      ],
    ],
    'opigno_messaging_confirmation' => [
      'variables' => [
        'body' => NULL,
      ],
    ],
    'opigno_pm_thread_actions' => [
      'variables' => [
        'actions' => NULL,
      ],
    ],
  ];
}