public function SubscriptionAddAccessCheck::__construct in Mailing List 8
Constructs a EntityCreateAccessCheck object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- src/
Access/ SubscriptionAddAccessCheck.php, line 29
Class
- SubscriptionAddAccessCheck
- Determines access to for subscription add pages.
Namespace
Drupal\mailing_list\AccessCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}