public function RuleInterface::getEvent in RNG - Events and Registrations 8
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/
RuleInterface.php, line 18
Class
- RuleInterface
- Provides an interface for event rule entities.
Namespace
Drupal\rngCode
public function getEvent();