You are here

public function MailingList::getLimitByEmail in Mailing List 8

Gets the maximum number of subscriptions per email address.

Return value

int The limit value.

Overrides MailingListInterface::getLimitByEmail

File

src/Entity/MailingList.php, line 154

Class

MailingList
Defines the mailing list configuration entity.

Namespace

Drupal\mailing_list\Entity

Code

public function getLimitByEmail() {
  return $this->max_per_email;
}