You are here

function EventMetaInterface::isDefaultRules in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::isDefaultRules()
  2. 3.x src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::isDefaultRules()

Determines if this event should use site default rules.

If the event has no rules defined, this will determine if site default rules should be used.

Parameters

string $trigger: The trigger ID for the rules.

Return value

boolean Whether site default rules should be used.

1 method overrides EventMetaInterface::isDefaultRules()
EventMeta::isDefaultRules in src/EventMeta.php
Determines if this event should use site default rules.

File

src/EventMetaInterface.php, line 249

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

function isDefaultRules($trigger);