You are here

public function WorkflowTransition::getTimestamp in Workflow 8

Returns the time on which the transitions was or will be executed.

Overrides WorkflowTransitionInterface::getTimestamp

2 calls to WorkflowTransition::getTimestamp()
WorkflowTransition::getTimestampFormatted in src/Entity/WorkflowTransition.php
Returns the human-readable time.
WorkflowTransition::_updateEntity in src/Entity/WorkflowTransition.php
Internal function to update the Entity.

File

src/Entity/WorkflowTransition.php, line 778

Class

WorkflowTransition
Implements an actual, executed, Transition.

Namespace

Drupal\workflow\Entity

Code

public function getTimestamp() {
  return $this
    ->get('timestamp')->value;
}