You are here

public function SitewideAlertInterface::getScheduledStartDateTime in Sitewide Alert 8

Gets the start date of this Sitewide Alert.

Return value

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

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

File

src/Entity/SitewideAlertInterface.php, line 124

Class

SitewideAlertInterface
Provides an interface for defining Sitewide Alert entities.

Namespace

Drupal\sitewide_alert\Entity

Code

public function getScheduledStartDateTime() : ?DrupalDateTime;