function popup_onload_theme in Popup On Load 8
Implements hook_theme().
File
- ./
popup_onload.module, line 205 - Contains main popup_onload hooks and functions.
Code
function popup_onload_theme() {
$theme = [];
$theme['popup_onload'] = [
'render element' => 'elements',
'file' => 'popup_onload.page.inc',
'template' => 'popup_onload',
];
$theme['popup_onload_content_add_list'] = [
'render element' => 'content',
'variables' => [
'content' => NULL,
],
'file' => 'popup_onload.page.inc',
];
return $theme;
}