glossify.module in Glossify 8
Same filename and directory in other branches
Glossify module.
File
glossify.moduleView source
<?php
/**
* @file
* Glossify module.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function glossify_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.glossify':
return 'todo';
}
}
/**
* Implements hook_theme().
*/
function glossify_theme() {
return [
'glossify_tooltip' => [
'variables' => [
'word' => NULL,
'tip' => NULL,
],
],
'glossify_link' => [
'variables' => [
'word' => NULL,
'tip' => NULL,
'tipurl' => NULL,
],
],
];
}
Functions
Name | Description |
---|---|
glossify_help | Implements hook_help(). |
glossify_theme | Implements hook_theme(). |