You are here

public static function RulesConfigurableEventHandlerInterface::determineQualifiedEvents in Rules 8.3

Determines the qualified event names for the dispatched event.

Parameters

\Symfony\Component\EventDispatcher\Event $event: The event data of the event being dispatched.

string $event_name: The event base name.

array $event_definition: The event definition. If necessary for the event, the contained context definitions may be refined as suiting for the event data.

Return value

string[] The array of qualified event name suffixes to add; e.g, 'article' if the fully-qualified event "rules_entity_view:node--article" should be triggered in addition to base event "rules_entity_view:node".

1 method overrides RulesConfigurableEventHandlerInterface::determineQualifiedEvents()
ConfigurableEventHandlerEntityBundle::determineQualifiedEvents in src/EventHandler/ConfigurableEventHandlerEntityBundle.php
Determines the qualified event names for the dispatched event.

File

src/Core/RulesConfigurableEventHandlerInterface.php, line 45

Class

RulesConfigurableEventHandlerInterface
Interface for handling configurable rules events.

Namespace

Drupal\rules\Core

Code

public static function determineQualifiedEvents(Event $event, $event_name, array &$event_definition);