function automatic_updates_theme in Automatic Updates 7
Same name and namespace in other branches
- 8 automatic_updates.module \automatic_updates_theme()
Implements hook_theme().
File
- ./
automatic_updates.module, line 137 - Contains automatic_updates.module.
Code
function automatic_updates_theme(array $existing, $type, $theme, $path) {
return [
'automatic_updates_psa_notify' => [
'variables' => [
'messages' => [],
],
'template' => 'automatic-updates-psa-notify',
'path' => $path . DIRECTORY_SEPARATOR . 'templates',
],
'automatic_updates_post_update' => [
'variables' => [
'success' => NULL,
'project' => NULL,
'to_version' => NULL,
'from_version' => NULL,
],
'template' => 'automatic-updates-post-update',
'path' => $path . DIRECTORY_SEPARATOR . 'templates',
],
];
}