function Mini::defineOptions
Overrides \Drupal\views\Plugin\views\pager\PagerPlugin::defineOptions().
Provides sane defaults for the next/previous links.
Overrides SqlBase::defineOptions
File
-
core/
modules/ views/ src/ Plugin/ views/ pager/ Mini.php, line 25
Class
- Mini
- The plugin to handle mini pager.
Namespace
Drupal\views\Plugin\views\pagerCode
public function defineOptions() {
$options = parent::defineOptions();
$options['tags']['contains']['previous']['default'] = '‹‹';
$options['tags']['contains']['next']['default'] = '››';
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.