NodePreviewAccessCheck::__construct

public NodePreviewAccessCheck::__construct(EntityManagerInterface $entity_manager)

Constructs a EntityCreateAccessCheck object.

Parameters

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

File

core/modules/node/src/Access/NodePreviewAccessCheck.php, line 30

Class

NodePreviewAccessCheck
Determines access to node previews.

Namespace

Drupal\node\Access

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}
doc_Drupal
2016-10-29 09:31:02
Comments
Leave a Comment

Please login to continue.