You are here

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

Same name and namespace in other branches
  1. 8 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 248

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

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