function TestContentEntityStorageBase::__construct

Constructs a TestContentEntityStorageBase object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend to be used.

\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface|null $memory_cache: The memory cache backend.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

Overrides ContentEntityStorageBase::__construct

File

core/tests/Drupal/Tests/Core/Entity/LegacyContentEntityStorageBaseTest.php, line 41

Class

TestContentEntityStorageBase
Test class for ContentEntityStorageBaseTest.

Namespace

Drupal\Tests\Core\Entity

Code

public function __construct() {
}

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