You are here

public function LogCommentPermissions::__construct in Commerce Core 8.2

Constructs a new CommentPermissions object.

Parameters

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

\Drupal\commerce_log\LogTemplateManagerInterface $log_template_manager: The log template manager.

File

modules/log/src/LogCommentPermissions.php, line 36

Class

LogCommentPermissions

Namespace

Drupal\commerce_log

Code

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