You are here

public function BusinessRule::getActions in Business Rules 8

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

Get the current Business Rule's actions.

Return value

array Array of actions.

Overrides BusinessRuleInterface::getActions

File

src/Entity/BusinessRule.php, line 148

Class

BusinessRule
Defines the Rule entity.

Namespace

Drupal\business_rules\Entity

Code

public function getActions() {
  return is_array($this->actions) ? $this->actions : [];
}