public function RuleSchedule::getDate in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/Entity/RuleSchedule.php \Drupal\rng\Entity\RuleSchedule::getDate()
- 8 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;
}