You are here

function antispam_theme in AntiSpam 7

Same name and namespace in other branches
  1. 6 antispam.module \antispam_theme()

Implements hook_theme().

File

./antispam.module, line 1758
Primary hook implementations for the Antispam module.

Code

function antispam_theme() {
  return array(
    'antispam_moderation_form' => array(
      'render element' => 'form',
      'file' => 'antispam.admin.inc',
    ),
    'antispam_counter_block' => array(
      'variables' => array(
        'args' => array(
          'content',
          'counter',
          'since',
          'text' => array(
            'plain' => array(
              'short',
              'long',
            ),
            'html' => array(
              'short',
              'long',
            ),
          ),
          'image',
          'block',
        ),
      ),
    ),
  );
}