FormBase::setConfigFactory

public FormBase::setConfigFactory(ConfigFactoryInterface $config_factory)

Sets the config factory for this form.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

Return value

$this

File

core/lib/Drupal/Core/Form/FormBase.php, line 135

Class

FormBase
Provides a base class for forms.

Namespace

Drupal\Core\Form

Code

public function setConfigFactory(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
  return $this;
}
doc_Drupal
2016-10-29 09:15:18
Comments
Leave a Comment

Please login to continue.