You are here

public function EntityPager::__construct in Entity Pager 8

Same name and namespace in other branches
  1. 2.0.x src/EntityPager.php \Drupal\entity_pager\EntityPager::__construct()

EntityPager constructor.

Parameters

\Drupal\views\ViewExecutable $view: The view object.

array $options: An array of options for the EntityPager.

\Drupal\Core\Utility\Token $token: The token service.

File

src/EntityPager.php, line 51

Class

EntityPager
Entity pager object.

Namespace

Drupal\entity_pager

Code

public function __construct(ViewExecutable $view, array $options, Token $token) {
  $this->view = $view;
  $this->options = $options;
  $this->token = $token;
}