function hook_form_system_theme_settings_alter

cis7 theme.api.php hook_form_system_theme_settings_alter(&$form, &$form_state)
cle7 theme.api.php hook_form_system_theme_settings_alter(&$form, &$form_state)
elmsmedia7 theme.api.php hook_form_system_theme_settings_alter(&$form, &$form_state)
icor7 theme.api.php hook_form_system_theme_settings_alter(&$form, &$form_state)
meedjum_blog7 theme.api.php hook_form_system_theme_settings_alter(&$form, &$form_state)
mooc7 theme.api.php hook_form_system_theme_settings_alter(&$form, &$form_state)

Allow themes to alter the theme-specific settings form.

With this hook, themes can alter the theme-specific settings form in any way allowable by Drupal's Form API, such as adding form elements, changing default values and removing form elements. See the Form API documentation on api.drupal.org for detailed information.

Note that the base theme's form alterations will be run before any sub-theme alterations.

Parameters

$form: Nested array of form elements that comprise the form.

$form_state: A keyed array containing the current state of the form.

15 functions implement hook_form_system_theme_settings_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

adaptivetheme_form_system_theme_settings_alter in sites/all/themes/ulmus/adaptivetheme/at_core/theme-settings.php
@file Implimentation of hook_form_system_theme_settings_alter()
alpha_form_system_theme_settings_alter in sites/all/themes/ulmus/omega/alpha/theme-settings.php
Implements hook_form_system_theme_settings_alter()
aurora_form_system_theme_settings_alter in sites/all/themes/ulmus/aurora/theme-settings.php
Implements hook_form_system_theme_settings_alter() function.
breakpoints_form_system_theme_settings_alter in sites/all/modules/local_contrib/breakpoints/breakpoints.module
Implements hook_permission().
chamfer_form_system_theme_settings_alter in sites/all/themes/elmsln_contrib/chamfer/theme-settings.php
Implements hook_form_system_theme_settings_alter().

... See full list

File

modules/system/theme.api.php, line 87

Code

function hook_form_system_theme_settings_alter(&$form, &$form_state) {
  // Add a checkbox to toggle the breadcrumb trail.
  $form['toggle_breadcrumb'] = array(
    '#type' => 'checkbox',
    '#title' => t('Display the breadcrumb'),
    '#default_value' => theme_get_setting('toggle_breadcrumb'),
    '#description' => t('Show a trail of links from the homepage to the current page.'),
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.