public function ConfigFormBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/ConfigFormBase.php \Drupal\Core\Form\ConfigFormBase::__construct()
- 9 core/lib/Drupal/Core/Form/ConfigFormBase.php \Drupal\Core\Form\ConfigFormBase::__construct()
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 an ImageToolkitForm object.
- MediaSettingsForm::__construct in core/
modules/ media/ src/ Form/ MediaSettingsForm.php - MediaSettingsForm constructor.
File
- core/
lib/ Drupal/ Core/ Form/ ConfigFormBase.php, line 20
Class
- ConfigFormBase
- Base class for implementing system configuration forms.
Namespace
Drupal\Core\FormCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this
->setConfigFactory($config_factory);
}