You are here

public function Date::getFormula in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/argument/Date.php \Drupal\views\Plugin\views\argument\Date::getFormula()
  2. 10 core/modules/views/src/Plugin/views/argument/Date.php \Drupal\views\Plugin\views\argument\Date::getFormula()

Overrides Formula::getFormula

File

core/modules/views/src/Plugin/views/argument/Date.php, line 139

Class

Date
Argument handler for dates.

Namespace

Drupal\views\Plugin\views\argument

Code

public function getFormula() {
  $this->formula = $this
    ->getDateFormat($this->argFormat);
  return parent::getFormula();
}