You are here

protected function Pagerer::setAdaptiveKeys in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Pagerer.php \Drupal\pagerer\Pagerer::setAdaptiveKeys()

Sets the adaptive keys of this pager.

Used by the Adaptive pager style.

Parameters

string $adaptive_keys: The adaptive keys string, in the format 'L.R.X', where L is the adaptive lock to left page, R is the adaptive lock to right page, and X is the adaptive center lock for calculation of neighborhood.

Return value

\Drupal\pagerer\Pagerer The Pagerer pager object.

File

src/Pagerer.php, line 213

Class

Pagerer
Pagerer pager management class.

Namespace

Drupal\pagerer

Code

protected function setAdaptiveKeys($adaptive_keys) {
  $this->adaptiveKeys = $adaptive_keys;
  return $this;
}