You are here

function modal_page_theme in Modal 8

Same name and namespace in other branches
  1. 8.3 modal_page.module \modal_page_theme()
  2. 8.2 modal_page.module \modal_page_theme()
  3. 7 modal_page.module \modal_page_theme()
  4. 5.0.x modal_page.module \modal_page_theme()
  5. 4.0.x modal_page.module \modal_page_theme()
  6. 4.1.x modal_page.module \modal_page_theme()

Implements hook_theme().

File

./modal_page.module, line 28
Main file for the Modal Page.

Code

function modal_page_theme($existing, $type, $theme, $path) {
  return [
    'modal_page_modal' => [
      'variables' => [
        'do_not_show_again' => NULL,
        'title' => NULL,
        'text' => NULL,
        'button' => NULL,
        'id' => NULL,
      ],
    ],
  ];
}