You are here

public function Schedule::setUpdateEntity in Business Rules 8

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

Set if it's to update the entity at the end of the task.

Parameters

bool $update: True or False.

Overrides ScheduleInterface::setUpdateEntity

File

src/Entity/Schedule.php, line 244

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

public function setUpdateEntity(bool $update) {
  $this
    ->set('update_entity', $update);
  return $this;
}