function TestableSqlContentEntityStorage::__construct
Override the constructor to bypass the parent's constructor.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Database\Connection $database: The database connection to be used.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend to be used.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache backend to be used.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
Overrides SqlContentEntityStorage::__construct
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Sql/ TestableSqlContentEntityStorage.php, line 42
Class
- TestableSqlContentEntityStorage
- A test subclass of SqlContentEntityStorage.
Namespace
Drupal\KernelTests\Core\Entity\SqlCode
public function __construct() {
// Do nothing to bypass parent's constructor.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.