public function DefaultDateRecurOccurrenceHandler::current in Recurring Dates Field 8
Return the current element
File
- src/
Plugin/ DateRecurOccurrenceHandler/ DefaultDateRecurOccurrenceHandler.php, line 455
Class
- DefaultDateRecurOccurrenceHandler
- Provides the default occurrence handler.
Namespace
Drupal\date_recur\Plugin\DateRecurOccurrenceHandlerCode
public function current() {
if (empty($this->rruleObject)) {
return NULL;
}
return $this->rruleObject
->current();
}