public function Mini::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/pager/Mini.php \Drupal\views\Plugin\views\pager\Mini::defineOptions()
- 9 core/modules/views/src/Plugin/views/pager/Mini.php \Drupal\views\Plugin\views\pager\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;
}