You are here

public function MailingListManagerInterface::grantSessionAccess in Mailing List 8

Grants the current user access to a subscription for the current session.

Parameters

\Drupal\mailing_list\SubscriptionInterface\SubscriptionInterface $subscription: The subscription.

1 method overrides MailingListManagerInterface::grantSessionAccess()
MailingListManager::grantSessionAccess in src/MailingListManager.php
Grants the current user access to a subscription for the current session.

File

src/MailingListManagerInterface.php, line 18

Class

MailingListManagerInterface
Interface definition for the mailing list manager service.

Namespace

Drupal\mailing_list

Code

public function grantSessionAccess(SubscriptionInterface $subscription);