You are here

public function PullForm::lastPage in Entity Share 8.2

Same name and namespace in other branches
  1. 8 modules/entity_share_client/src/Form/PullForm.php \Drupal\entity_share_client\Form\PullForm::lastPage()

Form submission handler to go to the last pager page.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

File

modules/entity_share_client/src/Form/PullForm.php, line 794

Class

PullForm
Form controller to pull entities.

Namespace

Drupal\entity_share_client\Form

Code

public function lastPage(array &$form, FormStateInterface $form_state) {
  $this
    ->pagerRedirect($form_state, 'last');
}