public function MailingListManagerInterface::hasSessionAccess in Mailing List 8
Checks if the current user has session access to a given subscription.
Parameters
\Drupal\mailing_list\SubscriptionInterface\SubscriptionInterface $subscription: The subscription.
Return value
bool TRUE if the current user has session access granted to the subscription.
1 method overrides MailingListManagerInterface::hasSessionAccess()
- MailingListManager::hasSessionAccess in src/
MailingListManager.php - Checks if the current user has session access to a given subscription.
File
- src/
MailingListManagerInterface.php, line 37
Class
- MailingListManagerInterface
- Interface definition for the mailing list manager service.
Namespace
Drupal\mailing_listCode
public function hasSessionAccess(SubscriptionInterface $subscription);