Initialize a style plugin.
$view:
$display:
$options: The style options might come externally as the style can be sourced from at least two locations. If it's not included, look on the display.
public function init(ViewExecutable $view, &$display, $options = NULL) {
$this
->setOptionDefaults($this->options, $this
->defineOptions());
$this->view =& $view;
$this->displayHandler =& $display;
$this
->unpackOptions($this->options, $options);
if ($this
->usesRowPlugin() && $display
->getOption('row')) {
$this->row_plugin = $display
->getPlugin('row');
}
$this->options += array(
'grouping' => array(),
);
}