function modal_page_theme in Modal 7
Same name and namespace in other branches
- 8.3 modal_page.module \modal_page_theme()
- 8 modal_page.module \modal_page_theme()
- 8.2 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 11 - Main file for the Modal Page.
Code
function modal_page_theme() {
return array(
'modal_page_modal' => array(
'render element' => 'elements',
'template' => 'templates/modal_page_modal',
'variables' => array(
'title' => NULL,
'text' => NULL,
'button' => NULL,
),
),
);
}