public function PrevnextService::__construct in Prevnext 2.x
Same name and namespace in other branches
- 8 src/PrevnextService.php \Drupal\prevnext\PrevnextService::__construct()
- 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\prevnextCode
public function __construct(EntityTypeManager $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
}