function CreatedWeek::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/ CreatedWeek.php, line 27 - Definition of Views\node\Plugin\views\argument\CreatedWeek.
Class
- CreatedWeek
- Argument handler for a week.
Namespace
Views\node\Plugin\views\argumentCode
function get_formula() {
$this->formula = $this
->extractSQL('WEEK');
return parent::get_formula();
}