You are here

public function EventTypeRule::removeAction in RNG - Events and Registrations 8.2

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

Remove an action configuration.

Parameters

$name: A action plugin instance ID.

Return value

$this The event type rule.

Overrides EventTypeRuleInterface::removeAction

File

src/Entity/EventTypeRule.php, line 151

Class

EventTypeRule
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

public function removeAction($name) {
  unset($this->actions[$name]);
  return $this;
}