Skip to content
Snippets Groups Projects
Commit 492e716f authored by Dave Reid's avatar Dave Reid
Browse files

Issue #3339767 by Dave Reid: Added Views mini pager.

parent 8ff79398
Branches
Tags
1 merge request!8Issue #3339767: Output Views mini pager in styleguide.
......@@ -693,6 +693,13 @@ class DefaultStyleguide extends StyleguidePluginBase {
'content' => $this->generator->pager(),
'group' => $this->t('User interface'),
];
if ($this->moduleHandler->moduleExists('views')) {
$items['views_mini_pager'] = [
'title' => $this->t('Views mini pager'),
'content' => ['#theme' => 'views_mini_pager'] + $this->generator->pager(),
'group' => $this->t('User interface'),
];
}
$items['progress_bar'] = [
'title' => $this->t('Progress bar'),
'content' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment