public function EntityRevisionRouteAccessChecker::__construct in Entity API 8.0
Same name and namespace in other branches
- 8 src/Access/EntityRevisionRouteAccessChecker.php \Drupal\entity\Access\EntityRevisionRouteAccessChecker::__construct()
Creates a new EntityRevisionRouteAccessChecker instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
File
- src/
Access/ EntityRevisionRouteAccessChecker.php, line 42 - Contains \Drupal\entity\Access\EntityRevisionRouteAccessChecker
Class
- EntityRevisionRouteAccessChecker
- Checks access to a entity revision.
Namespace
Drupal\entity\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}