public function NodeStorage::__construct in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Storage/Sql/NodeStorage.php \Drupal\multiversion\Entity\Storage\Sql\NodeStorage::__construct()
Constructs a SqlContentEntityStorage object.
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|null $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
- src/
Entity/ Storage/ Sql/ NodeStorage.php, line 43
Class
- NodeStorage
- Storage handler for nodes.
Namespace
Drupal\multiversion\Entity\Storage\SqlCode
public function __construct(EntityTypeInterface $entity_type, Connection $database, EntityManagerInterface $entity_manager, CacheBackendInterface $cache, LanguageManagerInterface $language_manager, ModuleHandler $module_handler) {
parent::__construct($entity_type, $database, $entity_manager, $cache, $language_manager);
$this->moduleHandler = $module_handler;
}