You are here

public function Multipane::setPager in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/pagerer/Multipane.php \Drupal\pagerer\Plugin\pagerer\Multipane::setPager()

Sets the Pagerer pager to be rendered.

Parameters

\Drupal\pagerer\Pagerer $pager: The pager object.

Return value

\Drupal\pagerer\Plugin\PagererStyleInterface The pager style object.

Overrides PagererStyleInterface::setPager

File

src/Plugin/pagerer/Multipane.php, line 35

Class

Multipane
A multi-pane (left, center, and right) pager style.

Namespace

Drupal\pagerer\Plugin\pagerer

Code

public function setPager(Pagerer $pager) {
  $this->pager = $pager;
  return $this;
}