You are here

public function EventMetaInterface::isPastEvent in RNG - Events and Registrations 3.x

Check whether the event date is in the past.

Parameters

bool $use_end_date: Set to TRUE to check whether end date is in the past. FALSE checks start date.

Return value

bool Whether the event start or end date is in the past.

1 method overrides EventMetaInterface::isPastEvent()
EventMeta::isPastEvent in src/EventMeta.php
@inheritDoc

File

src/EventMetaInterface.php, line 385

Class

EventMetaInterface
Interface for EventMeta.

Namespace

Drupal\rng

Code

public function isPastEvent($use_end_date = FALSE);