public function Full::buildOptionsForm

Overrides \Drupal\views\Plugin\views\SqlBase::buildOptionsForm().

Overrides SqlBase::buildOptionsForm

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/pager/Full.php, line 45
Definition of Drupal\views\Plugin\views\pager\Full.

Class

Full
The plugin to handle full pager.

Namespace

Drupal\views\Plugin\views\pager

Code

public function buildOptionsForm(&$form, &$form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['quantity'] = array(
    '#type' => 'number',
    '#title' => t('Number of pager links visible'),
    '#description' => t('Specify the number of links to pages to display in the pager.'),
    '#default_value' => $this->options['quantity'],
  );
  $form['tags']['first'] = array(
    '#type' => 'textfield',
    '#title' => t('First page link text'),
    '#default_value' => $this->options['tags']['first'],
    '#weight' => -10,
  );
  $form['tags']['last'] = array(
    '#type' => 'textfield',
    '#title' => t('Last page link text'),
    '#default_value' => $this->options['tags']['last'],
    '#weight' => 10,
  );
}