public function StateInformation::__construct in Entity Share 8.2
Same name and namespace in other branches
- 8.3 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.
File
- modules/
entity_share_client/ src/ Service/ StateInformation.php, line 41
Class
- StateInformation
- Class StateInformation.
Namespace
Drupal\entity_share_client\ServiceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ResourceTypeRepositoryInterface $resource_type_repository) {
$this->entityTypeManager = $entity_type_manager;
$this->resourceTypeRepository = $resource_type_repository;
}