class TestEntityFieldManager
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php \Drupal\Tests\Core\Entity\TestEntityFieldManager
Hierarchy
- class \Drupal\Core\Entity\EntityFieldManager extends \Drupal\Core\Entity\EntityFieldManagerInterface uses \Drupal\Core\Cache\UseCacheBackendTrait, \Drupal\Core\StringTranslation\StringTranslationTrait
- class \Drupal\Tests\Core\Entity\TestEntityFieldManager implements \Drupal\Core\Entity\EntityFieldManager
Expanded class hierarchy of TestEntityFieldManager
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php, line 869
Namespace
Drupal\Tests\Core\EntityView source
class TestEntityFieldManager extends EntityFieldManager {
/**
* Allows the static caches to be cleared.
*/
public function testClearEntityFieldInfo() {
$this->baseFieldDefinitions = [];
$this->fieldDefinitions = [];
$this->fieldStorageDefinitions = [];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.