You are here

protected function PagererStyleBase::buildEmptyPager in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/pagerer/PagererStyleBase.php \Drupal\pagerer\Plugin\pagerer\PagererStyleBase::buildEmptyPager()

Render a 'no pages to display' text.

1 call to PagererStyleBase::buildEmptyPager()
PagererStyleBase::preprocess in src/Plugin/pagerer/PagererStyleBase.php
Prepares to render the pager.
1 method overrides PagererStyleBase::buildEmptyPager()
Scrollpane::buildEmptyPager in src/Plugin/pagerer/Scrollpane.php
Render a 'no pages to display' text.

File

src/Plugin/pagerer/PagererStyleBase.php, line 459

Class

PagererStyleBase
Base plugin for Pagerer.

Namespace

Drupal\pagerer\Plugin\pagerer

Code

protected function buildEmptyPager() {
  return [
    [
      'text' => $this
        ->getDisplayTag('pageset_empty'),
      'attributes' => new Attribute(),
    ],
  ];
}