You are here

public function GroupContentTypeStorage::__construct in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Storage/GroupContentTypeStorage.php \Drupal\group\Entity\Storage\GroupContentTypeStorage::__construct()

Constructs a GroupContentTypeStorage object.

Parameters

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

\Drupal\group\Plugin\GroupContentEnablerManagerInterface $plugin_manager: The group content enabler manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Component\Uuid\UuidInterface $uuid_service: The UUID service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

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

Overrides ConfigEntityStorage::__construct

File

src/Entity/Storage/GroupContentTypeStorage.php, line 53

Class

GroupContentTypeStorage
Defines the storage handler class for group content type entities.

Namespace

Drupal\group\Entity\Storage

Code

public function __construct(EntityTypeInterface $entity_type, GroupContentEnablerManagerInterface $plugin_manager, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, MemoryCacheInterface $memory_cache) {
  parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager, $memory_cache);
  $this->pluginManager = $plugin_manager;
}