You are here

public function StateInformation::__construct in Entity Share 8.3

Same name and namespace in other branches
  1. 8.2 modules/entity_share_client/src/Service/StateInformation.php \Drupal\entity_share_client\Service\StateInformation::__construct()

StateInformation constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface $resource_type_repository: The resource type repository.

\Drupal\Component\Datetime\TimeInterface $time: The Drupal time service.

File

modules/entity_share_client/src/Service/StateInformation.php, line 55

Class

StateInformation
Service to handle presentation of import state.

Namespace

Drupal\entity_share_client\Service

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ResourceTypeRepositoryInterface $resource_type_repository, TimeInterface $time) {
  $this->entityTypeManager = $entity_type_manager;
  $this->resourceTypeRepository = $resource_type_repository;
  $this->time = $time;
}