public ConfigEntityStorage::__construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager)
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
File
- core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 108
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\Entity
Code
1 2 3 4 5 6 7 | 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 ; } |
Please login to continue.