public function CampaignMonitorCampaignCampaignController::__construct in Campaign Monitor 8
Constructs a NodeAccessControlHandler object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\node\NodeGrantDatabaseStorageInterface $grant_storage: The node grant storage.
File
- modules/
campaignmonitor_campaign/ src/ Controller/ CampaignMonitorCampaignCampaignController.php, line 37
Class
- CampaignMonitorCampaignCampaignController
- Campaign Monitor Lists controller.
Namespace
Drupal\campaignmonitor_campaign\ControllerCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
$this->account = \Drupal::currentUser();
}