You are here

public function MailingList::getLimitByUser in Mailing List 8

Gets the maximum number of subscriptions per user.

Return value

int The limit value.

Overrides MailingListInterface::getLimitByUser

File

src/Entity/MailingList.php, line 140

Class

MailingList
Defines the mailing list configuration entity.

Namespace

Drupal\mailing_list\Entity

Code

public function getLimitByUser() {
  return $this->max_per_user;
}