You are here

public function Formula::getFormula in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 40
Contains \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);
}