function GroupByNumeric::init
Overrides HandlerBase::init
File
-
core/
modules/ views/ src/ Plugin/ views/ sort/ GroupByNumeric.php, line 25
Class
- GroupByNumeric
- Handler for GROUP BY on simple numeric fields.
Namespace
Drupal\views\Plugin\views\sortCode
public function init(ViewExecutable $view, DisplayPluginBase $display, ?array &$options = NULL) {
parent::init($view, $display, $options);
// Initialize the original handler.
$this->handler = Views::handlerManager('sort')->getHandler($options);
$this->handler
->init($view, $display, $options);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.