public function TestEntityFieldManager::testClearEntityFieldInfo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 782 - Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
Class
Namespace
Drupal\Tests\Core\EntityCode
public function testClearEntityFieldInfo() {
$this->baseFieldDefinitions = [];
$this->fieldDefinitions = [];
$this->fieldStorageDefinitions = [];
}