You are here

public function BBBMeetingModeratorAccessCheck::__construct in BigBlueButton 8

Constructs a BBBMeetingModeratorAccessCheck object.

Parameters

\Drupal\bbb_node\Service\NodeMeeting $node_meeting: Node based Meeting API.

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

File

modules/bbb_node/src/Access/BBBMeetingModeratorAccessCheck.php, line 42

Class

BBBMeetingModeratorAccessCheck
Class BBBMeetingModeratorAccessCheck.

Namespace

Drupal\bbb_node\Access

Code

public function __construct(NodeMeeting $node_meeting, EntityTypeManagerInterface $entity_type_manager) {
  $this->nodeMeeting = $node_meeting;
  $this->nodeStorage = $entity_type_manager
    ->getStorage('node');
}