Overrides \Drupal\views\Plugin\views\PluginBase::init().
Overrides PluginBase::init
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
// If the pager is set to none, then it should show all items.
$this
->setItemsPerPage(0);
}