function hook_bbb_node_delete_alter in BigBlueButton 8
Alter of meeting deletion.
Parameters
\Drupal\node\NodeInterface $node: Related meeting node.
File
- modules/
bbb_node/ bbb_node.api.php, line 44 - Contains API documentation for bbb_node.
Code
function hook_bbb_node_delete_alter(\Drupal\node\NodeInterface $node) {
if ($node
->getType() === 'target_meeting_type') {
/** @var \Drupal\bbb_node\Service\NodeMeeting $node_meeting */
$node_meeting = \Drupal::service('bbb_node.meeting');
/** @var array $meeting_before_delete */
$meeting_before_delete = $node_meeting
->get($node);
}
}