You are here

public function FieldConfigStorage::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/FieldConfigStorage.php \Drupal\field\FieldConfigStorage::__construct()

Constructs a FieldConfigStorage 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\State\StateInterface $state: The state key value store.

\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_manager: The field type plugin manager.

Overrides ConfigEntityStorage::__construct

File

core/modules/field/src/FieldConfigStorage.php, line 65
Contains \Drupal\field\FieldConfigStorage.

Class

FieldConfigStorage
Controller class for fields.

Namespace

Drupal\field

Code

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