You are here

function CurrentTime::getDate in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Condition/CurrentTime.php \Drupal\rng\Plugin\Condition\CurrentTime::getDate()
  2. 3.x src/Plugin/Condition/CurrentTime.php \Drupal\rng\Plugin\Condition\CurrentTime::getDate()

Gets the date in configuration.

4 calls to CurrentTime::getDate()
CurrentTime::buildConfigurationForm in src/Plugin/Condition/CurrentTime.php
Form constructor.
CurrentTime::evaluate in src/Plugin/Condition/CurrentTime.php
Evaluates the condition and returns TRUE or FALSE accordingly.
CurrentTime::getDateFormatted in src/Plugin/Condition/CurrentTime.php
Formats the date for display.
CurrentTime::summary in src/Plugin/Condition/CurrentTime.php
Provides a human readable summary of the condition's configuration.

File

src/Plugin/Condition/CurrentTime.php, line 102

Class

CurrentTime
Evaluates if the current date is before or after the the configured date.

Namespace

Drupal\rng\Plugin\Condition

Code

function getDate() {
  return $this->configuration['date'];
}