You are here

function pagestyle_theme in Page Style 7

Same name and namespace in other branches
  1. 6 includes/pagestyle.block.inc \pagestyle_theme()

Implement hook_theme().

File

includes/pagestyle.block.inc, line 343
Block, page and theme functions.

Code

function pagestyle_theme() {
  $variables = array(
    'dest' => NULL,
    'block_title' => NULL,
    'list_inline' => NULL,
    'current_inline' => NULL,
    'subtitle' => NULL,
    'subtitle_text' => NULL,
    'display_links' => NULL,
    'black_white' => NULL,
    'white_black' => NULL,
    'yellow_blue' => NULL,
    'standard' => NULL,
    'current_pagestyle' => NULL,
    'display_current_pagestyle' => NULL,
    'display_current_pagestyle_text' => NULL,
    'current_pagestyle_text' => NULL,
    'pagestyle' => NULL,
  );
  return array(
    'pagestyle_text' => array(
      'variables' => $variables,
      'template' => 'pagestyle-text',
    ),
    'pagestyle_image' => array(
      'variables' => $variables,
      'template' => 'pagestyle-image',
    ),
    'pagestyle_form' => array(
      'render element' => 'form',
      'template' => 'pagestyle-form',
    ),
  );
}