function FieldStorageConfigStorage::__construct
Same name and namespace in other branches
- 11.x core/modules/field/src/FieldStorageConfigStorage.php \Drupal\field\FieldStorageConfigStorage::__construct()
- 10 core/modules/field/src/FieldStorageConfigStorage.php \Drupal\field\FieldStorageConfigStorage::__construct()
- 9 core/modules/field/src/FieldStorageConfigStorage.php \Drupal\field\FieldStorageConfigStorage::__construct()
- 8.9.x core/modules/field/src/FieldStorageConfigStorage.php \Drupal\field\FieldStorageConfigStorage::__construct()
Constructs a FieldStorageConfigStorage 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.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Field\FieldTypePluginManagerInterface $fieldTypeManager: The field type plugin manager.
\Drupal\Core\Field\DeletedFieldsRepositoryInterface $deletedFieldsRepository: The deleted fields repository.
\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memory_cache: The memory cache.
Overrides ConfigEntityStorage::__construct
File
-
core/
modules/ field/ src/ FieldStorageConfigStorage.php, line 53
Class
- FieldStorageConfigStorage
- Storage handler for "field storage" configuration entities.
Namespace
Drupal\fieldCode
public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, protected EntityTypeManagerInterface $entityTypeManager, ModuleHandlerInterface $module_handler, protected FieldTypePluginManagerInterface $fieldTypeManager, protected DeletedFieldsRepositoryInterface $deletedFieldsRepository, MemoryCacheInterface $memory_cache) {
parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager, $memory_cache);
$this->moduleHandler = $module_handler;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.