You are here

public function TestEntityFieldManager::testClearEntityFieldInfo in Zircon Profile 8

Same name and namespace in other branches
  1. 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

TestEntityFieldManager

Namespace

Drupal\Tests\Core\Entity

Code

public function testClearEntityFieldInfo() {
  $this->baseFieldDefinitions = [];
  $this->fieldDefinitions = [];
  $this->fieldStorageDefinitions = [];
}