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_listCode
public function grantSessionAccess(SubscriptionInterface $subscription);