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\Form

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->setConfigFactory($config_factory);
}
doc_Drupal
2016-10-29 08:53:24
Comments
Leave a Comment

Please login to continue.