You are here

public function MailingList::setInactiveLifetime in Mailing List 8

Sets the inactive subscriptions lifetime for this mailing list.

Parameters

int $time: Max inactive subscriptions lifetime in seconds.

Overrides MailingListInterface::setInactiveLifetime

File

src/Entity/MailingList.php, line 175

Class

MailingList
Defines the mailing list configuration entity.

Namespace

Drupal\mailing_list\Entity

Code

public function setInactiveLifetime($time) {
  $this->inactive_subscriptions_liftime = $time;
}