8.5.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
8.0.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
8.1.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
8.2.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
8.3.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
8.4.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
8.6.x ConfigFormBase.php ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

16 methods override ConfigFormBase::__construct()
AccountSettingsForm::__construct in core/modules/user/src/AccountSettingsForm.php
Constructs a \Drupal\user\AccountSettingsForm object.
BasicSettingsForm::__construct in core/modules/views_ui/src/Form/BasicSettingsForm.php
Constructs a \Drupal\views_ui\Form\BasicSettingsForm object.
FileSystemForm::__construct in core/modules/system/src/Form/FileSystemForm.php
Constructs a FileSystemForm object.
ImageToolkitForm::__construct in core/modules/system/src/Form/ImageToolkitForm.php
Constructs a ImageToolkitForm object.
NegotiationBrowserForm::__construct in core/modules/language/src/Form/NegotiationBrowserForm.php

... See full list

File

core/lib/Drupal/Core/Form/ConfigFormBase.php, line 20

Class

ConfigFormBase
Base class for implementing system configuration forms.

Namespace

Drupal\Core\Form

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this
    ->setConfigFactory($config_factory);
}