You are here

function Formula::get_formula in Views (for Drupal 7) 8.3

8 calls to Formula::get_formula()
CreatedDay::get_formula in lib/Views/node/Plugin/views/argument/CreatedDay.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedFullDate::get_formula in lib/Views/node/Plugin/views/argument/CreatedFullDate.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedMonth::get_formula in lib/Views/node/Plugin/views/argument/CreatedMonth.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedWeek::get_formula in lib/Views/node/Plugin/views/argument/CreatedWeek.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedYear::get_formula in lib/Views/node/Plugin/views/argument/CreatedYear.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().

... See full list

6 methods override Formula::get_formula()
CreatedDay::get_formula in lib/Views/node/Plugin/views/argument/CreatedDay.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedFullDate::get_formula in lib/Views/node/Plugin/views/argument/CreatedFullDate.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedMonth::get_formula in lib/Views/node/Plugin/views/argument/CreatedMonth.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedWeek::get_formula in lib/Views/node/Plugin/views/argument/CreatedWeek.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
CreatedYear::get_formula in lib/Views/node/Plugin/views/argument/CreatedYear.php
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().

... See full list

File

lib/Drupal/views/Plugin/views/argument/Formula.php, line 42
Definition of Drupal\views\Plugin\views\argument\Formula.

Class

Formula
Abstract argument handler for simple formulae.

Namespace

Drupal\views\Plugin\views\argument

Code

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