You are here

public function BookAccessHelper::__construct in Book access 1.x

Constructs a new ContentUninstallValidator.

Parameters

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

\Psr\Log\LoggerInterface $logger: The logger service.

File

src/BookAccessHelper.php, line 43

Class

BookAccessHelper
Helper functions for book_access.

Namespace

Drupal\book_access

Code

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