You are here

public function RuleComponentInterface::getRule in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/RuleComponentInterface.php \Drupal\rng\Entity\RuleComponentInterface::getRule()

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/Entity/RuleComponentInterface.php, line 18

Class

RuleComponentInterface
Provides an interface for rule component entities.

Namespace

Drupal\rng\Entity

Code

public function getRule();