You are here

public function ConfigEntityStorage::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php \Drupal\Core\Config\Entity\ConfigEntityStorage::__construct()

Constructs a ConfigEntityStorage object.

Parameters

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

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

Overrides EntityStorageBase::__construct

5 calls to ConfigEntityStorage::__construct()
BaseFieldOverrideStorage::__construct in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
Constructs a BaseFieldOverrideStorage object.
FieldConfigStorage::__construct in core/modules/field/src/FieldConfigStorage.php
Constructs a FieldConfigStorage object.
FieldStorageConfigStorage::__construct in core/modules/field/src/FieldStorageConfigStorage.php
Constructs a FieldStorageConfigStorage object.
MigrationStorage::__construct in core/modules/migrate/src/MigrationStorage.php
Constructs a MigrationStorage object.
ShortcutSetStorage::__construct in core/modules/shortcut/src/ShortcutSetStorage.php
Constructs a ShortcutSetStorageController object.
5 methods override ConfigEntityStorage::__construct()
BaseFieldOverrideStorage::__construct in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
Constructs a BaseFieldOverrideStorage object.
FieldConfigStorage::__construct in core/modules/field/src/FieldConfigStorage.php
Constructs a FieldConfigStorage object.
FieldStorageConfigStorage::__construct in core/modules/field/src/FieldStorageConfigStorage.php
Constructs a FieldStorageConfigStorage object.
MigrationStorage::__construct in core/modules/migrate/src/MigrationStorage.php
Constructs a MigrationStorage object.
ShortcutSetStorage::__construct in core/modules/shortcut/src/ShortcutSetStorage.php
Constructs a ShortcutSetStorageController object.

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 113
Contains \Drupal\Core\Config\Entity\ConfigEntityStorage.

Class

ConfigEntityStorage
Defines the storage class for configuration entities.

Namespace

Drupal\Core\Config\Entity

Code

public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager) {
  parent::__construct($entity_type);
  $this->configFactory = $config_factory;
  $this->uuidService = $uuid_service;
  $this->languageManager = $language_manager;
}