You are here

public function ViewmodepagePatternRepository::__construct in View Mode Page 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Repository/ViewmodepagePatternRepository.php \Drupal\view_mode_page\Repository\ViewmodepagePatternRepository::__construct()
  2. 3.2.x src/Repository/ViewmodepagePatternRepository.php \Drupal\view_mode_page\Repository\ViewmodepagePatternRepository::__construct()

ViewmodepagePatternRepository constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager interface.

File

src/Repository/ViewmodepagePatternRepository.php, line 26

Class

ViewmodepagePatternRepository
Class ViewmodepagePatternRepository.

Namespace

Drupal\view_mode_page\Repository

Code

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