You are here

public function PagererStyleInterface::preprocess in Pagerer 8

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

Prepares to render the pager.

Parameters

array $variables: An associative array containing:

  • style: The PagererStyle plugin id to be used to render the pager. Only for base style plugins.
  • element: An optional integer to distinguish between multiple pagers on one page.
  • parameters: An associative array of query string parameters to append to the pager links.
  • config: An associative array of configuration elements for the pager style.
2 methods override PagererStyleInterface::preprocess()
Multipane::preprocess in src/Plugin/pagerer/Multipane.php
Prepares to render the pager.
PagererStyleBase::preprocess in src/Plugin/pagerer/PagererStyleBase.php
Prepares to render the pager.

File

src/Plugin/PagererStyleInterface.php, line 37

Class

PagererStyleInterface
Provides an interface defining an Pagerer pager style.

Namespace

Drupal\pagerer\Plugin

Code

public function preprocess(array &$variables);