You are here

public function BaseFieldOverrideStorage::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::__construct()
  2. 9 core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php \Drupal\Core\Field\BaseFieldOverrideStorage::__construct()

Constructs a BaseFieldOverrideStorage 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\Field\FieldTypePluginManagerInterface $field_type_manager: The field type plugin manager.

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

Overrides ConfigEntityStorage::__construct

File

core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php, line 33

Class

BaseFieldOverrideStorage
Storage class for base field overrides.

Namespace

Drupal\Core\Field

Code

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