You are here

public function EventTypeRule::getAction in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/EventTypeRule.php \Drupal\rng\Entity\EventTypeRule::getAction()
  2. 8 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 120

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;
}