You are here

function hook_bbb_node_update_alter in BigBlueButton 8

Alter of meeting creation.

Parameters

\BigBlueButton\Parameters\CreateMeetingParameters $parameters: Meetings parameters.

\Drupal\node\NodeInterface $node: Related meeting node.

File

modules/bbb_node/bbb_node.api.php, line 31
Contains API documentation for bbb_node.

Code

function hook_bbb_node_update_alter(\BigBlueButton\Parameters\CreateMeetingParameters $parameters, \Drupal\node\NodeInterface $node) {
  if ($node
    ->getType() === 'target_meeting_type') {
    $parameters
      ->setMaxParticipants(10);
    $parameters
      ->setDuration(60);
  }
}