You are here

public function Formula::getFormula in Drupal 9

Same name and namespace in other branches
  1. 8 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\argument

Code

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