function Mini::defineOptions
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/Mini.php \Drupal\views\Plugin\views\pager\Mini::defineOptions()
- 8.9.x core/modules/views/src/Plugin/views/pager/Mini.php \Drupal\views\Plugin\views\pager\Mini::defineOptions()
- 10 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 27
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.