public function SystemConfigFormBase::buildForm

Implements \Drupal\Core\Form\FormInterface::buildForm().

Overrides FormInterface::buildForm

24 calls to SystemConfigFormBase::buildForm()
AccountSettingsForm::buildForm in drupal/core/modules/user/lib/Drupal/user/AccountSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
AdvancedSettingsForm::buildForm in drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/AdvancedSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
BasicSettingsForm::buildForm in drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
BookSettingsForm::buildForm in drupal/core/modules/book/lib/Drupal/book/BookSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
CronForm::buildForm in drupal/core/modules/system/lib/Drupal/system/Form/CronForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().

... See full list

24 methods override SystemConfigFormBase::buildForm()
AccountSettingsForm::buildForm in drupal/core/modules/user/lib/Drupal/user/AccountSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
AdvancedSettingsForm::buildForm in drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/AdvancedSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
BasicSettingsForm::buildForm in drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/BasicSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
BookSettingsForm::buildForm in drupal/core/modules/book/lib/Drupal/book/BookSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
CronForm::buildForm in drupal/core/modules/system/lib/Drupal/system/Form/CronForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().

... See full list

File

drupal/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php, line 54
Contains \Drupal\system\SystemConfigFormBase.

Class

SystemConfigFormBase
Base class for implementing system configuration forms.

Namespace

Drupal\system

Code

public function buildForm(array $form, array &$form_state) {
  $form['actions']['#type'] = 'actions';
  $form['actions']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save configuration'),
    '#button_type' => 'primary',
  );

  // By default, render the form using theme_system_config_form().
  $form['#theme'] = 'system_config_form';
  return $form;
}