public function EventMetaInterface::getDefaultRules in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::getDefaultRules()
- 8 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\rngCode
public function getDefaultRules($trigger = NULL);