You are here

public function IncludeResolver::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/IncludeResolver.php \Drupal\jsonapi\IncludeResolver::__construct()
  2. 10 core/modules/jsonapi/src/IncludeResolver.php \Drupal\jsonapi\IncludeResolver::__construct()

IncludeResolver constructor.

File

core/modules/jsonapi/src/IncludeResolver.php, line 49

Class

IncludeResolver
Resolves included resources for an entity or collection of entities.

Namespace

Drupal\jsonapi

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityAccessChecker $entity_access_checker) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityAccessChecker = $entity_access_checker;
}