public function RuleInterface::getEvent in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 3.x src/Entity/RuleInterface.php \Drupal\rng\Entity\RuleInterface::getEvent()
Gets the event entity.
Return value
\Drupal\Core\Entity\EntityInterface|null The event entity. Or NULL if it does not exist.
1 method overrides RuleInterface::getEvent()
- Rule::getEvent in src/
Entity/ Rule.php - Gets the event entity.
File
- src/
Entity/ RuleInterface.php, line 18
Class
- RuleInterface
- Provides an interface for event rule entities.
Namespace
Drupal\rng\EntityCode
public function getEvent();