You are here

public function WorkflowTransition::setTimestamp in Workflow 8

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

Parameters

$value: The new timestamp.

Return value

WorkflowTransitionInterface

Overrides WorkflowTransitionInterface::setTimestamp

1 call to WorkflowTransition::setTimestamp()
WorkflowTransition::setValues in src/Entity/WorkflowTransition.php
Helper function for __construct. Used for all children of WorkflowTransition (aka WorkflowScheduledTransition)

File

src/Entity/WorkflowTransition.php, line 793

Class

WorkflowTransition
Implements an actual, executed, Transition.

Namespace

Drupal\workflow\Entity

Code

public function setTimestamp($value) {
  $this
    ->set('timestamp', $value);
  return $this;
}