You are here

public function UserDeveloperConverter::__construct in Apigee Edge 8

Same name in this branch
  1. 8 src/UserDeveloperConverter.php \Drupal\apigee_edge\UserDeveloperConverter::__construct()
  2. 8 tests/modules/apigee_edge_test/src/UserDeveloperConverter.php \Drupal\apigee_edge_test\UserDeveloperConverter::__construct()

UserToDeveloper constructor.

Parameters

\Drupal\apigee_edge\UserDeveloperConverterInterface $inner_service: The decorated user-developer converter service.

\Drupal\Core\Config\ConfigFactory $config_factory: Config factory service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager service.

\Drupal\apigee_edge\Plugin\FieldStorageFormatManagerInterface $field_storage_manager: Field storage manager service.

\Drupal\apigee_edge\FieldAttributeConverterInterface $field_attribute_converter: Field name to attribute name converter service.

Overrides UserDeveloperConverter::__construct

File

tests/modules/apigee_edge_test/src/UserDeveloperConverter.php, line 60

Class

UserDeveloperConverter
Service decorator for user-developer converter.

Namespace

Drupal\apigee_edge_test

Code

public function __construct(UserDeveloperConverterInterface $inner_service, ConfigFactory $config_factory, EntityTypeManagerInterface $entity_type_manager, FieldStorageFormatManagerInterface $field_storage_manager, FieldAttributeConverterInterface $field_attribute_converter) {
  $this->configFactory = $config_factory;
  $this->fieldStorageFormatManager = $field_storage_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->fieldAttributeConverter = $field_attribute_converter;
  $this->innerService = $inner_service;
  parent::__construct($config_factory, $entity_type_manager, $field_storage_manager, $field_attribute_converter);
}