public function EventMetaInterface::trigger in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::trigger()
- 3.x src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::trigger()
Manually triggers rules for this event.
Parameters
string $trigger: The trigger ID.
array $context: Mixed context.
1 method overrides EventMetaInterface::trigger()
- EventMeta::trigger in src/
EventMeta.php - Manually triggers rules for this event.
File
- src/
EventMetaInterface.php, line 261
Class
- EventMetaInterface
- Interface for EventMeta.
Namespace
Drupal\rngCode
public function trigger($trigger, $context = []);