You are here

public function ScheduledUpdate::getCreatedTime in Scheduled Updates 8

Return the creation time of the entity in seconds since epoch.

Overrides ScheduledUpdateInterface::getCreatedTime

File

src/Entity/ScheduledUpdate.php, line 94
Contains \Drupal\scheduled_updates\Entity\ScheduledUpdate.

Class

ScheduledUpdate
Defines the Scheduled update entity.

Namespace

Drupal\scheduled_updates\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}