You are here

public function EventMetaInterface::isDefaultRules in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::isDefaultRules()
  2. 8 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

bool 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 251

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function isDefaultRules($trigger);