You are here

public function ScheduledTransitionInterface::setTransitionTime in Scheduled Transitions 8

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

Sets the transition time.

Parameters

int $time: The transition time.

Return value

static Returns entity for chaining.

1 method overrides ScheduledTransitionInterface::setTransitionTime()
ScheduledTransition::setTransitionTime in src/Entity/ScheduledTransition.php
Sets the transition time.

File

src/Entity/ScheduledTransitionInterface.php, line 100

Class

ScheduledTransitionInterface
Interface for Scheduled Transitions.

Namespace

Drupal\scheduled_transitions\Entity

Code

public function setTransitionTime(int $time);