You are here

function spamspan_theme in SpamSpan filter 8

Same name and namespace in other branches
  1. 8.2 spamspan.module \spamspan_theme()
  2. 7 spamspan.module \spamspan_theme()

Implements hook_theme().

File

./spamspan.module, line 62
Implements the spamspan technique for hiding email addresses from spambots.

Code

function spamspan_theme($existing, $type, $theme, $path) {
  return [
    'spamspan_at_sign' => [
      'variables' => [
        'path' => base_path() . drupal_get_path('module', 'spamspan') . '/image.gif',
        'settings' => [],
      ],
    ],
  ];
}