You are here

public function Pagerer::defineOptions in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/pager/Pagerer.php \Drupal\pagerer\Plugin\views\pager\Pagerer::defineOptions()

Same as 'Full', plus preset. Tags are left even if the options form will not present them, as tags in Pagerer are different than in core.

Overrides Full::defineOptions

File

src/Plugin/views/pager/Pagerer.php, line 122

Class

Pagerer
The views plugin to handle Pagerer pager.

Namespace

Drupal\pagerer\Plugin\views\pager

Code

public function defineOptions() {
  $options = parent::defineOptions();
  $options['preset'] = [
    'default' => 'core',
  ];
  return $options;
}