function Date::getFormula

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()
  3. 11.x 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.