function CreatedMonth::get_formula in Views (for Drupal 7) 8.3
Overrides Drupal\views\Plugin\views\argument\Formula::get_formula().
Overrides Formula::get_formula
File
- lib/
Views/ node/ Plugin/ views/ argument/ CreatedMonth.php, line 28 - Definition of Views\node\Plugin\views\argument\CreatedMonth.
Class
- CreatedMonth
- Argument handler for a month (MM)
Namespace
Views\node\Plugin\views\argumentCode
function get_formula() {
$this->formula = $this
->extractSQL('MONTH');
return parent::get_formula();
}