function modal_page_theme in Modal 8
Same name and namespace in other branches
- 8.3 modal_page.module \modal_page_theme()
- 8.2 modal_page.module \modal_page_theme()
- 7 modal_page.module \modal_page_theme()
- 5.0.x modal_page.module \modal_page_theme()
- 4.0.x modal_page.module \modal_page_theme()
- 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,
],
],
];
}