function flag_theme in Flag 8.4
Same name and namespace in other branches
- 6.2 flag.module \flag_theme()
- 6 flag.module \flag_theme()
- 7.3 flag.module \flag_theme()
- 7.2 flag.module \flag_theme()
Implements hook_theme().
File
- ./
flag.module, line 305 - The Flag module.
Code
function flag_theme() {
return [
'flag' => [
'variables' => [
'attributes' => [],
'title' => NULL,
'action' => 'flag',
'flag' => NULL,
'flaggable' => NULL,
],
],
];
}