You are here

function pagestyle_allowed_values in Page Style 5

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

Returns an array of allowed values.

Return value

An array of allowed values.

4 calls to pagestyle_allowed_values()
pagestyle_check in ./pagestyle.module
Check the cookie "pagestyle" value of changing (bye JavaScript) for anonymus user.
pagestyle_form in includes/pagestyle.block.inc
Implement hook_form().
pagestyle_get_current in ./pagestyle.module
Return the current page style.
pagestyle_set in includes/pagestyle.block.inc
Menu callback; change the pagestyle to the cookie value, then redirects to the previous page.

File

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

Code

function pagestyle_allowed_values() {
  $pagestyle_allowed = array(
    'black_white',
    'white_black',
    'yellow_blue',
    'standard',
  );
  return $pagestyle_allowed;
}