public function RuleComponentInterface::setRule in RNG - Events and Registrations 8
Sets the rule for the component.
Return value
\Drupal\rng\RuleComponentInterface Return this object for chaining.
1 method overrides RuleComponentInterface::setRule()
- RuleComponent::setRule in src/
Entity/ RuleComponent.php - Sets the rule for the component.
File
- src/
RuleComponentInterface.php, line 26
Class
- RuleComponentInterface
- Provides an interface for rule component entities.
Namespace
Drupal\rngCode
public function setRule(RuleInterface $rule);