You are here

public function DefaultDateRecurOccurrenceHandler::rewind in Recurring Dates Field 8

Rewind the Iterator to the first element

File

src/Plugin/DateRecurOccurrenceHandler/DefaultDateRecurOccurrenceHandler.php, line 494

Class

DefaultDateRecurOccurrenceHandler
Provides the default occurrence handler.

Namespace

Drupal\date_recur\Plugin\DateRecurOccurrenceHandler

Code

public function rewind() {
  if (!empty($this->rruleObject)) {
    $this->rruleObject
      ->rewind();
  }
}