function freelinking_theme in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 freelinking.module \freelinking_theme()
- 6.3 freelinking.module \freelinking_theme()
- 6 freelinking.module \freelinking_theme()
- 6.2 freelinking.module \freelinking_theme()
- 7.3 freelinking.module \freelinking_theme()
Implements hook_theme().
File
- ./
freelinking.module, line 28 - Provides flexible, extensible, wiki-style linking of content.
Code
function freelinking_theme() {
return [
'freelink_error' => [
'variables' => [
'plugin' => NULL,
'message' => NULL,
'target' => NULL,
'attributes' => [],
],
],
'freelink' => [
'variables' => [
'link' => NULL,
'attributes' => NULL,
],
],
];
}