public function Formula::getFormula

3 calls to Formula::getFormula()
Date::getFormula in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php
Overrides \Drupal\views\Plugin\views\argument\Formula::getFormula().
Formula::query in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php
Build the query based upon the formula
Formula::summaryQuery in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php
Build the summary query based on a formula
1 method overrides Formula::getFormula()
Date::getFormula in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php
Overrides \Drupal\views\Plugin\views\argument\Formula::getFormula().

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Formula.php, line 41
Definition of Drupal\views\Plugin\views\argument\Formula.

Class

Formula
Abstract argument handler for simple formulae.

Namespace

Drupal\views\Plugin\views\argument

Code

public function getFormula() {
  return str_replace('***table***', $this->tableAlias, $this->formula);
}