public function BaseFieldOverrideStorage::__construct

public BaseFieldOverrideStorage::__construct(EntityTypeInterface $entity_type, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, FieldTypePluginManagerInterface $field_type_manager)

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.

Overrides ConfigEntityStorage::__construct

File

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

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) {
  parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager);
  $this->fieldTypeManager = $field_type_manager;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!BaseFieldOverrideStorage.php/function/BaseFieldOverrideStorage::__construct/8.1.x