You are here

public function EntityPagerFactory::__construct in Entity Pager 2.0.x

Same name and namespace in other branches
  1. 8 src/EntityPagerFactory.php \Drupal\entity_pager\EntityPagerFactory::__construct()

EntityPagerFactory constructor.

Parameters

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

File

src/EntityPagerFactory.php, line 26

Class

EntityPagerFactory
Factory for entity pager objects.

Namespace

Drupal\entity_pager

Code

public function __construct(Token $token) {
  $this->token = $token;
}