You are here

public function LogAddAccessCheck::__construct in Log entity 8

Constructs a EntityCreateAccessCheck object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

src/Access/LogAddAccessCheck.php, line 36
Contains \Drupal\log\Access\LogAddAccessCheck.

Class

LogAddAccessCheck
Determines access to for log add pages.

Namespace

Drupal\log\Access

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}