You are here

public function Subscription::getListId in Mailing List 8

Gets the mailing list ID to which this subscription belongs.

Return value

string The mailing list ID.

Overrides SubscriptionInterface::getListId

1 call to Subscription::getListId()
Subscription::getList in src/Entity/Subscription.php
Gets the mailing list to which this subscription belongs.

File

src/Entity/Subscription.php, line 87

Class

Subscription
Defines the subscription entity class.

Namespace

Drupal\mailing_list\Entity

Code

public function getListId() {
  return $this
    ->bundle();
}