public function EventTypeRule::removeAction in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/EventTypeRule.php \Drupal\rng\Entity\EventTypeRule::removeAction()
- 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 152
Class
- EventTypeRule
- Defines the event type entity.
Namespace
Drupal\rng\EntityCode
public function removeAction($name) {
unset($this->actions[$name]);
return $this;
}