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; }
Please login to continue.