You are here

function spaces_customizers in Spaces 6

Same name and namespace in other branches
  1. 5.2 spaces.module \spaces_customizers()
  2. 6.2 spaces.module \spaces_customizers()

Retrieve all available customizers.

Parameters

$reset: Optional boolean flag for resetting the static cache.

Return value

Keyed array of customizers.

4 calls to spaces_customizers()
spaces_customize_form in ./spaces_admin.inc
Feature customization form.
spaces_customize_form_reset in ./spaces_admin.inc
Reset submit handler for feature customization form.
spaces_customize_form_submit in ./spaces_admin.inc
Submit handler for feature customization form.
spaces_customize_form_validate in ./spaces_admin.inc
Validate handler for spaces features form

File

./spaces.module, line 1387

Code

function spaces_customizers($reset = FALSE) {
  static $customizers;
  if (!isset($customizers) || $reset) {
    $customizers = array();
    $customizers = module_invoke_all('spaces_customizers');
  }
  return $customizers;
}