You are here

public function BBBMeetingTypeController::__construct in BigBlueButton 8

BBBMeetingTypeController constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Messenger\MessengerInterface $messenger:

\Drupal\bbb\Service\Api $api:

\Drupal\bbb_node\Service\NodeMeeting $node_meeting:

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

modules/bbb_node/src/Controller/BBBMeetingTypeController.php, line 80

Class

BBBMeetingTypeController
Class BBBMeetingTypeController.

Namespace

Drupal\bbb_node\Controller

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, MessengerInterface $messenger, Api $api, NodeMeeting $node_meeting, ConfigFactoryInterface $config_factory) {
  $this->entityTypeManager = $entity_type_manager;
  $this->messenger = $messenger;
  $this->api = $api;
  $this->nodeMeeting = $node_meeting;
  $this->config = $config_factory
    ->get('bbb_node.settings');
  $this->nodeStorage = $this->entityTypeManager
    ->getStorage('node');
}