public function RuleSchedule::getDate in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::getDate()
- 3.x src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::getDate()
Execution date as a unix timestamp.
Return value
int A timestamp.
Overrides RuleScheduleInterface::getDate
File
- src/
Entity/ RuleSchedule.php, line 38
Class
- RuleSchedule
- Defines the rule scheduler entity.
Namespace
Drupal\rng\EntityCode
public function getDate() {
return $this
->get('trigger_date')->value;
}