public function TestEntityFieldManager::testClearEntityFieldInfo in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\TestEntityFieldManager::testClearEntityFieldInfo()
Allows the static caches to be cleared.
File
- core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php, line 800 - Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
Class
Namespace
Drupal\Tests\Core\EntityCode
public function testClearEntityFieldInfo() {
$this->baseFieldDefinitions = [];
$this->fieldDefinitions = [];
$this->fieldStorageDefinitions = [];
}