You are here

public function PagerPluginBase::getPagerId in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/PagerPluginBase.php \Drupal\views\Plugin\views\pager\PagerPluginBase::getPagerId()

Get the pager id, if it exists

File

core/modules/views/src/Plugin/views/pager/PagerPluginBase.php, line 115
Contains \Drupal\views\Plugin\views\pager\PagerPluginBase.

Class

PagerPluginBase
Base class for views pager plugins.

Namespace

Drupal\views\Plugin\views\pager

Code

public function getPagerId() {
  return isset($this->options['id']) ? $this->options['id'] : 0;
}