You are here

function mentions_theme in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/mentions.module \mentions_theme()
  2. 8 modules/custom/mentions/mentions.module \mentions_theme()
  3. 8.2 modules/custom/mentions/mentions.module \mentions_theme()
  4. 8.3 modules/custom/mentions/mentions.module \mentions_theme()
  5. 8.4 modules/custom/mentions/mentions.module \mentions_theme()
  6. 8.5 modules/custom/mentions/mentions.module \mentions_theme()
  7. 8.6 modules/custom/mentions/mentions.module \mentions_theme()
  8. 8.8 modules/custom/mentions/mentions.module \mentions_theme()
  9. 10.3.x modules/custom/mentions/mentions.module \mentions_theme()
  10. 10.0.x modules/custom/mentions/mentions.module \mentions_theme()
  11. 10.1.x modules/custom/mentions/mentions.module \mentions_theme()
  12. 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;
}