function CreatedMonth::get_formula

Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().

Overrides Formula::get_formula

File

drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/CreatedMonth.php, line 28
Definition of Drupal\node\Plugin\views\argument\CreatedMonth.

Class

CreatedMonth
Argument handler for a month (MM)

Namespace

Drupal\node\Plugin\views\argument

Code

function get_formula() {
  $this->formula = $this
    ->extractSQL('MONTH');
  return parent::get_formula();
}