public function Pagerer::setAdaptiveKeys in Pagerer 8.2
Same name and namespace in other branches
- 8 src/Pagerer.php \Drupal\pagerer\Pagerer::setAdaptiveKeys()
Sets the adaptive keys of this pager.
Used by the Adaptive pager style.
Parameters
array $adaptive_keys: The adaptive keys array, 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
self Self.
File
- src/
Pagerer.php, line 153
Class
- Pagerer
- Pagerer pager value object.
Namespace
Drupal\pagererCode
public function setAdaptiveKeys(array $adaptive_keys) : self {
$this->adaptiveKeys = $adaptive_keys;
return $this;
}