garland_form_system_theme_settings_alter
function garland_form_system_theme_settings_alter
garland_form_system_theme_settings_alter(&$form, &$form_state)
Implements hook_form_FORM_ID_alter().
Parameters
$form: The form.
$form_state: The form state.
File
- themes/garland/theme-settings.php, line 16
- Theme setting callbacks for the garland theme.
Code
function garland_form_system_theme_settings_alter(&$form, &$form_state) { $form['garland_width'] = array( '#type' => 'radios', '#title' => t('Content width'), '#options' => array( 'fluid' => t('Fluid width'), 'fixed' => t('Fixed width'), ), '#default_value' => theme_get_setting('garland_width'), '#description' => t('Specify whether the content will wrap to a fixed width or will fluidly expand to the width of the browser window.'), // Place this above the color scheme options. '#weight' => -2, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/themes!garland!theme-settings.php/function/garland_form_system_theme_settings_alter/7.x