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