You are here

public static function ScheduleInterface::loadByNameAndTriggeredBy in Business Rules 8

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

Load an schedule based on name and triggered by item.

Parameters

string $name: The schedule name.

string $triggeredBy: The triggered by Business Rule item.

Return value

\Drupal\business_rules\Entity\Schedule The schedule entity.

1 method overrides ScheduleInterface::loadByNameAndTriggeredBy()
Schedule::loadByNameAndTriggeredBy in src/Entity/Schedule.php
Load an schedule based on name and triggered by item.

File

src/Entity/ScheduleInterface.php, line 181

Class

ScheduleInterface
Provides an interface for defining Schedule entities.

Namespace

Drupal\business_rules\Entity

Code

public static function loadByNameAndTriggeredBy($name, $triggeredBy);