function FieldConfigValidationTest::resetEnvironment
Same name and namespace in other branches
- 11.x core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php \Drupal\Tests\field\Kernel\Entity\FieldConfigValidationTest::resetEnvironment()
Resets the environment after a test method has run.
Overrides KernelTestBase::resetEnvironment
File
-
core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldConfigValidationTest.php, line 204
Class
- FieldConfigValidationTest
- Tests validation of field_config entities.
Namespace
Drupal\Tests\field\Kernel\EntityCode
protected function resetEnvironment() : void {
parent::resetEnvironment();
$this->container
->get('state')
->delete(self::DISABLE_BROKEN_HANDLER_STATE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.