You are here

public function ScheduleInterface::setTriggeredBy in Business Rules 8

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

Set the Business Rule which has triggered this schedule.

Parameters

\Drupal\business_rules\Entity\BusinessRulesItemBase $businessRuleItem: The Business Rule item.

Return value

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

1 method overrides ScheduleInterface::setTriggeredBy()
Schedule::setTriggeredBy in src/Entity/Schedule.php
Set the Business Rule which has triggered this schedule.

File

src/Entity/ScheduleInterface.php, line 168

Class

ScheduleInterface
Provides an interface for defining Schedule entities.

Namespace

Drupal\business_rules\Entity

Code

public function setTriggeredBy(BusinessRulesItemBase $businessRuleItem);