You are here

public function EventTypeRule::getAction in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Entity/EventTypeRule.php \Drupal\rng\Entity\EventTypeRule::getAction()
  2. 3.x src/Entity/EventTypeRule.php \Drupal\rng\Entity\EventTypeRule::getAction()

Get a action configuration.

Parameters

$name: A action plugin instance ID.

Return value

array

Overrides EventTypeRuleInterface::getAction

File

src/Entity/EventTypeRule.php, line 121

Class

EventTypeRule
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

public function getAction($name) {
  return isset($this->actions[$name]) ? $this->actions[$name] : NULL;
}