You are here

public function Schedule::setExecutedTime in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Entity/Schedule.php \Drupal\business_rules\Entity\Schedule::setExecutedTime()
1 call to Schedule::setExecutedTime()
Schedule::setExecuted in src/Entity/Schedule.php
Sets the executed status of a Schedule.

File

src/Entity/Schedule.php, line 218

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

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