You are here

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

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

Returns the Schedule executed status indicator.

Return value

bool TRUE if the Schedule was executed.

Overrides ScheduleInterface::isExecuted

File

src/Entity/Schedule.php, line 79

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

public function isExecuted() {
  return (bool) $this
    ->getEntityKey('status');
}