public function GroupByNumeric::init in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/sort/GroupByNumeric.php \Drupal\views\Plugin\views\sort\GroupByNumeric::init()
- 9 core/modules/views/src/Plugin/views/sort/GroupByNumeric.php \Drupal\views\Plugin\views\sort\GroupByNumeric::init()
File
- core/
modules/ views/ src/ Plugin/ views/ sort/ GroupByNumeric.php, line 19
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);
}