abstract protected function EntityCacheTagsTestBase::createEntity in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php \Drupal\Tests\system\Functional\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/ tests/ src/ Functional/ Entity/ EntityCacheTagsTestBase.php
9 methods override EntityCacheTagsTestBase::createEntity()
- BlockContentCacheTagsTest::createEntity in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCacheTagsTest.php - Creates the entity to be tested.
- CommentCacheTagsTest::createEntity in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - Creates the entity to be tested.
- FeedCacheTagsTest::createEntity in core/
modules/ aggregator/ tests/ src/ Functional/ FeedCacheTagsTest.php - Creates the entity to be tested.
- ItemCacheTagsTest::createEntity in core/
modules/ aggregator/ tests/ src/ Functional/ ItemCacheTagsTest.php - Creates the entity to be tested.
- MediaCacheTagsTest::createEntity in core/
modules/ media/ tests/ src/ Functional/ MediaCacheTagsTest.php - Creates the entity to be tested.
File
- core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityCacheTagsTestBase.php, line 126
Class
- EntityCacheTagsTestBase
- Provides helper methods for Entity cache tags tests.
Namespace
Drupal\Tests\system\Functional\EntityCode
protected abstract function createEntity();