You are here

public function ChannelManipulator::__construct in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 modules/entity_share_server/src/Service/ChannelManipulator.php \Drupal\entity_share_server\Service\ChannelManipulator::__construct()

ChannelManipulator constructor.

Parameters

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

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

File

modules/entity_share_server/src/Service/ChannelManipulator.php, line 46

Class

ChannelManipulator
Class ChannelManipulator.

Namespace

Drupal\entity_share_server\Service

Code

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