You are here

function freelinking_theme in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 freelinking.module \freelinking_theme()
  2. 6.3 freelinking.module \freelinking_theme()
  3. 6 freelinking.module \freelinking_theme()
  4. 6.2 freelinking.module \freelinking_theme()
  5. 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,
      ],
    ],
  ];
}