public function ConfigFormBase::__construct
public ConfigFormBase::__construct(ConfigFactoryInterface $config_factory)
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
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); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!ConfigFormBase.php/function/ConfigFormBase::__construct/8.1.x