Skip to content
Snippets Groups Projects
theme-settings.php 503 B
Newer Older
Brian Canini's avatar
Brian Canini committed
<?php
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Theme\ThemeSettings;
use Drupal\system\Form\ThemeSettingsForm;
use Drupal\Core\Form;

function asc_bootstrap_bux_form_system_theme_settings_alter(&$form, Drupal\Core\Form\FormStateInterface $form_state) {
  $form['asc_bootstrap_bux_settings']['osu_logo'] = array(
Brian Canini's avatar
Brian Canini committed
    '#type' => 'checkbox',
Brian Canini's avatar
Brian Canini committed
    '#title' => t('Not a part of the College Arts and Sciences'),
    '#default_value' => theme_get_setting('osu_logo', 'asc_bootstrap_bux'),
Brian Canini's avatar
Brian Canini committed
  );
}