You are here

public function FieldAccessCheck::__construct in FileField Sources 8

Constructs an EntityCreateAccessCheck object.

Parameters

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

File

src/Access/FieldAccessCheck.php, line 30

Class

FieldAccessCheck
Access check for file field source routes.

Namespace

Drupal\filefield_sources\Access

Code

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