public function Formula::getFormula in Drupal 8
Same name and namespace in other branches
- 9 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 35
Class
- Formula
- Argument handler for simple formulae.
Namespace
Drupal\views\Plugin\views\argumentCode
public function getFormula() {
return str_replace('***table***', $this->tableAlias, $this->formula);
}