public function GroupByNumeric::init

Overrides \Drupal\views\Plugin\views\HandlerBase::init().

Overrides HandlerBase::init

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/sort/GroupByNumeric.php, line 24
Definition of Drupal\views\Plugin\views\sort\GroupByNumeric.

Class

GroupByNumeric
Handler for GROUP BY on simple numeric fields.

Namespace

Drupal\views\Plugin\views\sort

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $options);

  // Initialize the original handler.
  $this->handler = views_get_handler($options, 'sort');
  $this->handler
    ->init($view, $display, $options);
}