You are here

public function SitewideAlert::getDismissibleIgnoreBeforeTime in Sitewide Alert 8

Gets the timestamp of when any dismissals should be ignored before.

Return value

int The UNIX timestamp of when any dismissals should be ignored before.

Overrides SitewideAlertInterface::getDismissibleIgnoreBeforeTime

File

src/Entity/SitewideAlert.php, line 457

Class

SitewideAlert
Defines the Sitewide Alert entity.

Namespace

Drupal\sitewide_alert\Entity

Code

public function getDismissibleIgnoreBeforeTime() : int {
  return $this
    ->get('dismissible_ignore_before_time')->value;
}