mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-05 16:51:21 +00:00
Initial commit
This commit is contained in:
commit
c5e731d8ae
2773 changed files with 600767 additions and 0 deletions
30
drupal7/web/themes/garland/theme-settings.php
Normal file
30
drupal7/web/themes/garland/theme-settings.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Theme setting callbacks for the garland theme.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_form_FORM_ID_alter().
|
||||
*
|
||||
* @param $form
|
||||
* The form.
|
||||
* @param $form_state
|
||||
* The form state.
|
||||
*/
|
||||
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,
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue