public function SystemConfigFormBase::__construct

Constructs a \Drupal\system\SystemConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactory $config_factory: The factory for configuration objects.

\Drupal\Core\Config\Context\ContextInterface $context: The configuration context to use.

6 calls to SystemConfigFormBase::__construct()
AccountSettingsForm::__construct in drupal/core/modules/user/lib/Drupal/user/AccountSettingsForm.php
Constructs a \Drupal\user\AccountSettingsForm object.
CronForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/CronForm.php
Constructs a CronForm object.
ImageToolkitForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/ImageToolkitForm.php
Constructs a ImageToolkitForm object.
PerformanceForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/PerformanceForm.php
Constructs a PerformanceForm object.
RegionalForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/RegionalForm.php
Constructs a RegionalForm object.

... See full list

9 methods override SystemConfigFormBase::__construct()
AccountSettingsForm::__construct in drupal/core/modules/user/lib/Drupal/user/AccountSettingsForm.php
Constructs a \Drupal\user\AccountSettingsForm object.
CronForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/CronForm.php
Constructs a CronForm object.
ImageToolkitForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/ImageToolkitForm.php
Constructs a ImageToolkitForm object.
PerformanceForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/PerformanceForm.php
Constructs a PerformanceForm object.
RegionalForm::__construct in drupal/core/modules/system/lib/Drupal/system/Form/RegionalForm.php
Constructs a RegionalForm object.

... See full list

File

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

Class

SystemConfigFormBase
Base class for implementing system configuration forms.

Namespace

Drupal\system

Code

public function __construct(ConfigFactory $config_factory, ContextInterface $context) {
  $this->configFactory = $config_factory;
  $this->configFactory
    ->enterContext($context);
}