You are here

function legal_theme in Legal 7

Same name and namespace in other branches
  1. 8 legal.module \legal_theme()
  2. 6.8 legal.module \legal_theme()
  3. 6.7 legal.module \legal_theme()
  4. 7.2 legal.module \legal_theme()
  5. 2.0.x legal.module \legal_theme()

Implements hook_theme().

File

./legal.module, line 116
Module file for Legal.

Code

function legal_theme() {
  return array(
    'legal_administration' => array(
      'render element' => 'form',
    ),
    'legal_display' => array(
      'variables' => array(
        'form' => NULL,
      ),
    ),
    'legal_page' => array(
      'render element' => 'form',
    ),
    'legal_login' => array(
      'render element' => 'form',
    ),
    'legal_accept_label' => array(
      'variables' => array(
        'link' => FALSE,
      ),
    ),
    'legal_target_link' => array(
      'variables' => array(
        'form' => FALSE,
      ),
    ),
  );
}