public function EntityParser::__construct in Entity Share 8.3
Class constructor.
Parameters
\Drupal\entity_share_diff\DiffGenerator\DiffGeneratorPluginManager $diff_generator_manager: The Diff manager service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\entity_share_client\Service\RemoteManagerInterface $remote_manager: The ES remote manager.
\Drupal\entity_share_client\Service\JsonapiHelperInterface $jsonapi_helper: The ES JSON:API helper.
\Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface $resource_type_repository: The resource type repository.
\Drupal\entity_share_client\Service\EntityReferenceHelper $entity_reference_helper: The entity reference helper service.
File
- modules/
entity_share_diff/ src/ Service/ EntityParser.php, line 99
Class
- EntityParser
- Entity parser.
Namespace
Drupal\entity_share_diff\ServiceCode
public function __construct(DiffGeneratorPluginManager $diff_generator_manager, LanguageManagerInterface $language_manager, RemoteManagerInterface $remote_manager, JsonapiHelperInterface $jsonapi_helper, ResourceTypeRepositoryInterface $resource_type_repository, EntityReferenceHelper $entity_reference_helper) {
$this->diffGeneratorManager = $diff_generator_manager;
$this->languageManager = $language_manager;
$this->remoteManager = $remote_manager;
$this->jsonapiHelper = $jsonapi_helper;
$this->resourceTypeRepository = $resource_type_repository;
$this->entityReferenceHelper = $entity_reference_helper;
$this->processedEntities = [
'local' => [],
'remote' => [],
];
}