You are here

public function PrevnextService::__construct in Prevnext 2.x

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

PrevnextService constructor.

Parameters

EntityTypeManager $entityTypeManager: The entity type manager instance.

File

src/PrevnextService.php, line 36

Class

PrevnextService
Class PrevnextService.

Namespace

Drupal\prevnext

Code

public function __construct(EntityTypeManager $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}