function mentions_theme in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/mentions/mentions.module \mentions_theme()
- 8 modules/custom/mentions/mentions.module \mentions_theme()
- 8.2 modules/custom/mentions/mentions.module \mentions_theme()
- 8.3 modules/custom/mentions/mentions.module \mentions_theme()
- 8.4 modules/custom/mentions/mentions.module \mentions_theme()
- 8.5 modules/custom/mentions/mentions.module \mentions_theme()
- 8.6 modules/custom/mentions/mentions.module \mentions_theme()
- 8.7 modules/custom/mentions/mentions.module \mentions_theme()
- 8.8 modules/custom/mentions/mentions.module \mentions_theme()
- 10.3.x modules/custom/mentions/mentions.module \mentions_theme()
- 10.1.x modules/custom/mentions/mentions.module \mentions_theme()
- 10.2.x modules/custom/mentions/mentions.module \mentions_theme()
Implements hook_theme().
File
- modules/
custom/ mentions/ mentions.module, line 31 - Code for the mentions module.
Code
function mentions_theme() {
$items = [
'mention_link' => [
'variables' => [
'mention_id' => NULL,
'link' => NULL,
'render_link' => FALSE,
'render_value' => '',
],
],
];
return $items;
}