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