From a9286dd3c2fd43bb7c6966ca08335772e4608be5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 27 Feb 2010 09:24:09 +0000 Subject: - Patch #610408 by JohnAlbin: create theme.api.php to help consolidate theme-related documentation. --- modules/system/system.api.php | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'modules/system/system.api.php') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 4342498cb..60c12dadb 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -775,32 +775,6 @@ function hook_form_FORM_ID_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 Forms API, such as adding form elements, changing - * default values and removing form elements. See the Forms 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. - * - * @param $form - * Nested array of form elements that comprise the form. - * @param $form_state - * A keyed array containing the current state of the form. - */ -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.'), - ); -} - /** * Map form_ids to builder functions. * -- cgit v1.2.3