public function RuleSchedule::getDate in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 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 39
Class
- RuleSchedule
- Defines the rule scheduler entity.
Namespace
Drupal\rng\EntityCode
public function getDate() {
return $this
->get('trigger_date')->value;
}