You are here

public function EventMetaInterface::getDefaultRules in RNG - Events and Registrations 8.2

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

Gets site default access rules and associated conditions and actions.

Parameters

string $trigger: The trigger ID for the rules.

Return value

\Drupal\rng\Entity\RuleInterface[] An array of rng_rule entities.

1 method overrides EventMetaInterface::getDefaultRules()
EventMeta::getDefaultRules in src/EventMeta.php
Gets site default access rules and associated conditions and actions.

File

src/EventMetaInterface.php, line 237

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function getDefaultRules($trigger = NULL);