function RulesTriggerableInterface::removeEvent

Same name in other branches
  1. 7.x-2.x includes/rules.core.inc \RulesTriggerableInterface::removeEvent()

Removes an event from the rule configuration.

Parameters

string $event_name: The name of the (configured) event to remove.

Return value

\Drupal\rules\Core\RulesTriggerableInterface The object instance itself, to allow chaining.

1 method overrides RulesTriggerableInterface::removeEvent()
ReactionRuleConfig::removeEvent in src/Entity/ReactionRuleConfig.php
Removes an event from the rule configuration.

File

src/Core/RulesTriggerableInterface.php, line 64

Class

RulesTriggerableInterface
Interface for objects that are triggerable.

Namespace

Drupal\rules\Core

Code

public function removeEvent(string $event_name);