You are here

public function FieldStorageConfigStorage::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\State\StateInterface $state: The state key value store.

\Drupal\Component\Plugin\PluginManagerInterface\FieldTypePluginManagerInterface: The field type plugin manager.

Overrides ConfigEntityStorage::__construct

File

core/modules/field/src/FieldStorageConfigStorage.php, line 75
Contains \Drupal\field\FieldStorageConfigStorage.

Class

FieldStorageConfigStorage
Controller class for "field storage" configuration entities.

Namespace

Drupal\field

Code

public function __construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler, StateInterface $state, FieldTypePluginManagerInterface $field_type_manager) {
  parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager);
  $this->entityManager = $entity_manager;
  $this->moduleHandler = $module_handler;
  $this->state = $state;
  $this->fieldTypeManager = $field_type_manager;
}