You are here

function flag_theme in Flag 8.4

Same name and namespace in other branches
  1. 6.2 flag.module \flag_theme()
  2. 6 flag.module \flag_theme()
  3. 7.3 flag.module \flag_theme()
  4. 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,
      ],
    ],
  ];
}