public function RuleSchedule::getComponent in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::getComponent()
- 3.x src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::getComponent()
Get associated rule component.
Return value
\Drupal\rng\RuleComponentInterface A rule component entity.
Overrides RuleScheduleInterface::getComponent
File
- src/
Entity/ RuleSchedule.php, line 32
Class
- RuleSchedule
- Defines the rule scheduler entity.
Namespace
Drupal\rng\EntityCode
public function getComponent() {
return $this
->get('component')->entity;
}