You are here

public function PrevnextService::__construct in Prevnext 8

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

PrevnextService constructor.

Parameters

QueryFactory $query: The entity query instance.

File

src/PrevnextService.php, line 35

Class

PrevnextService
Class PrevnextService.

Namespace

Drupal\prevnext

Code

public function __construct(QueryFactory $query) {
  $this->queryFactory = $query;
}