public function PullForm::firstPage in Entity Share 8
Same name and namespace in other branches
- 8.2 modules/entity_share_client/src/Form/PullForm.php \Drupal\entity_share_client\Form\PullForm::firstPage()
Form submission handler to go to the first 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 508
Class
- PullForm
- Form controller to pull entities.
Namespace
Drupal\entity_share_client\FormCode
public function firstPage(array &$form, FormStateInterface $form_state) {
$this
->pagerRedirect($form_state, 'first');
}