You are here

public function ForumTopicHandler::__construct in Opigno forum 8

Same name and namespace in other branches
  1. 3.x src/ForumTopicHandler.php \Drupal\opigno_forum\ForumTopicHandler::__construct()

ForumTopicHandler constructor.

Parameters

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

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

File

src/ForumTopicHandler.php, line 39

Class

ForumTopicHandler
Handles the relationship between forum topics and groups.

Namespace

Drupal\opigno_forum

Code

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