protected function EntityPagerLink::noResult in Entity Pager 8
Same name and namespace in other branches
- 2.0.x src/EntityPagerLink.php \Drupal\entity_pager\EntityPagerLink::noResult()
Returns a render array for an entity pager link with no results.
Return value
array The render array for the link with no results.
1 call to EntityPagerLink::noResult()
- EntityPagerLink::getLink in src/
EntityPagerLink.php - Returns a render array for the link.
File
- src/
EntityPagerLink.php, line 70
Class
- EntityPagerLink
- A class representing a single Entity Pager link.
Namespace
Drupal\entity_pagerCode
protected function noResult() {
return [
'#type' => 'markup',
'#markup' => '<span class="inactive">' . $this->text . '</span>',
];
}