abstract protected function EntityCacheTagsTestBase::createEntity in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php \Drupal\system\Tests\Entity\EntityCacheTagsTestBase::createEntity()
Creates the entity to be tested.
Return value
\Drupal\Core\Entity\EntityInterface The entity to be tested.
1 call to EntityCacheTagsTestBase::createEntity()
- EntityCacheTagsTestBase::setUp in core/
modules/ system/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php - Sets up a Drupal site for running functional and integration tests.
8 methods override EntityCacheTagsTestBase::createEntity()
- BlockContentCacheTagsTest::createEntity in core/
modules/ block_content/ src/ Tests/ BlockContentCacheTagsTest.php - Creates the entity to be tested.
- CommentCacheTagsTest::createEntity in core/
modules/ comment/ src/ Tests/ CommentCacheTagsTest.php - Creates the entity to be tested.
- FeedCacheTagsTest::createEntity in core/
modules/ aggregator/ src/ Tests/ FeedCacheTagsTest.php - Creates the entity to be tested.
- ItemCacheTagsTest::createEntity in core/
modules/ aggregator/ src/ Tests/ ItemCacheTagsTest.php - Creates the entity to be tested.
- NodeCacheTagsTest::createEntity in core/
modules/ node/ src/ Tests/ NodeCacheTagsTest.php - Creates the entity to be tested.
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php, line 131 - Contains \Drupal\system\Tests\Entity\EntityCacheTagsTestBase.
Class
- EntityCacheTagsTestBase
- Provides helper methods for Entity cache tags tests.
Namespace
Drupal\system\Tests\EntityCode
protected abstract function createEntity();