public function ChannelManipulator::__construct in Entity Share 8.3
Same name and namespace in other branches
- 8.2 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
- Helps to manipulate a channel.
Namespace
Drupal\entity_share_server\ServiceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ResourceTypeRepositoryInterface $resource_type_repository) {
$this->entityTypeManager = $entity_type_manager;
$this->resourceTypeRepository = $resource_type_repository;
}