public function MailingList::setLimitByUser in Mailing List 8
Sets the maximum number of subscriptions per user.
Parameters
int $limit: The limit value.
Overrides MailingListInterface::setLimitByUser
File
- src/
Entity/ MailingList.php, line 147
Class
- MailingList
- Defines the mailing list configuration entity.
Namespace
Drupal\mailing_list\EntityCode
public function setLimitByUser($limit) {
$this->max_per_user = $limit;
}