function 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.

File

core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php, line 133

Class

EntityCacheTagsTestBase
Provides helper methods for Entity cache tags tests.

Namespace

Drupal\system\Tests\Entity

Code

abstract protected function createEntity();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.