You are here

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

Same name and namespace in other branches
  1. 8 src/Entity/Schedule.php \Drupal\business_rules\Entity\Schedule::setScheduled()

Sets the Schedule scheduled timestamp.

Parameters

int $timestamp: The Schedule scheduled timestamp.

Return value

\Drupal\business_rules\Entity\ScheduleInterface The called Schedule entity.

Overrides ScheduleInterface::setScheduled

File

src/Entity/Schedule.php, line 119

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

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