protected function PullForm::getBasicPagerLinks in Entity Share 8.3
Helper function to get simple pager's link ID's and labels.
Return value
array Array keyed by link ID's with labels as values.
2 calls to PullForm::getBasicPagerLinks()
- PullForm::buildEntitiesSelectTable in modules/
entity_share_client/ src/ Form/ PullForm.php - Helper function to generate entities table.
- PullForm::goToPage in modules/
entity_share_client/ src/ Form/ PullForm.php - Form submission handler to go to pager link: first, previous, next, last.
File
- modules/
entity_share_client/ src/ Form/ PullForm.php, line 777
Class
- PullForm
- Form controller to pull entities.
Namespace
Drupal\entity_share_client\FormCode
protected function getBasicPagerLinks() {
return [
'first' => $this
->t('First'),
'prev' => $this
->t('Previous'),
'next' => $this
->t('Next'),
'last' => $this
->t('Last'),
];
}