public function RuleComponentInterface::getRule in RNG - Events and Registrations 8
Gets the rule entity.
Return value
\Drupal\rng\Entity\Rule|NULL The rule entity. Or NULL if it does not exist.
1 method overrides RuleComponentInterface::getRule()
- RuleComponent::getRule in src/
Entity/ RuleComponent.php - Gets the rule entity.
File
- src/
RuleComponentInterface.php, line 18
Class
- RuleComponentInterface
- Provides an interface for rule component entities.
Namespace
Drupal\rngCode
public function getRule();