You are here

public function ScheduledTransition::getCreatedTime in Scheduled Transitions 8

Same name and namespace in other branches
  1. 2.x src/Entity/ScheduledTransition.php \Drupal\scheduled_transitions\Entity\ScheduledTransition::getCreatedTime()

Get the time this scheduled transition was created.

Return value

int The creation time.

Overrides ScheduledTransitionInterface::getCreatedTime

File

src/Entity/ScheduledTransition.php, line 176

Class

ScheduledTransition
Scheduled Transition entity.

Namespace

Drupal\scheduled_transitions\Entity

Code

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