function FormBase::resetConfigFactory

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::resetConfigFactory()
  2. 8.9.x core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::resetConfigFactory()
  3. 11.x core/lib/Drupal/Core/Form/FormBase.php \Drupal\Core\Form\FormBase::resetConfigFactory()

Resets the configuration factory.

1 call to FormBase::resetConfigFactory()
SiteConfigureForm::submitForm in core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
Form submission handler.

File

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

Class

FormBase
Provides a base class for forms.

Namespace

Drupal\Core\Form

Code

public function resetConfigFactory() {
    $this->configFactory = NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.