function onomasticon_theme in Onomasticon 8
Same name and namespace in other branches
- 2.x onomasticon.module \onomasticon_theme()
Implements hook_theme().
File
- ./
onomasticon.module, line 32 - Custom filter to add glossary information to words.
Code
function onomasticon_theme($existing, $type, $theme, $path) {
return [
'onomasticon' => [
'template' => 'onomasticon',
'variables' => [
'tag' => NULL,
'needle' => NULL,
'description' => NULL,
'implement' => NULL,
'orientation' => NULL,
'cursor' => NULL,
'termlink' => NULL,
'termpath' => NULL,
],
],
];
}