You are here

public function SitewideAlertInterface::getScheduledEndDateTime in Sitewide Alert 8

Gets the end date of this Sitewide Alert.

Return value

\Drupal\Core\Datetime\DrupalDateTime|null The date when this alert is scheduled to end, null otherwise;

1 method overrides SitewideAlertInterface::getScheduledEndDateTime()
SitewideAlert::getScheduledEndDateTime in src/Entity/SitewideAlert.php
Gets the end date of this Sitewide Alert.

File

src/Entity/SitewideAlertInterface.php, line 132

Class

SitewideAlertInterface
Provides an interface for defining Sitewide Alert entities.

Namespace

Drupal\sitewide_alert\Entity

Code

public function getScheduledEndDateTime() : ?DrupalDateTime;