function Formula::getFormula
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument/Formula.php \Drupal\views\Plugin\views\argument\Formula::getFormula()
- 8.9.x core/modules/views/src/Plugin/views/argument/Formula.php \Drupal\views\Plugin\views\argument\Formula::getFormula()
- 10 core/modules/views/src/Plugin/views/argument/Formula.php \Drupal\views\Plugin\views\argument\Formula::getFormula()
3 calls to Formula::getFormula()
- Date::getFormula in core/
modules/ views/ src/ Plugin/ views/ argument/ Date.php - Formula::query in core/
modules/ views/ src/ Plugin/ views/ argument/ Formula.php - Build the query based upon the formula.
- Formula::summaryQuery in core/
modules/ views/ src/ Plugin/ views/ argument/ Formula.php - Build the summary query based on a formula.
1 method overrides Formula::getFormula()
- Date::getFormula in core/
modules/ views/ src/ Plugin/ views/ argument/ Date.php
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ Formula.php, line 37
Class
- Formula
- Argument handler for simple formulae.
Namespace
Drupal\views\Plugin\views\argumentCode
public function getFormula() {
return str_replace('***table***', $this->tableAlias, $this->formula);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.