function bbb_node_node_load in BigBlueButton 8
Implements hook_ENTITY_TYPE_load().
File
- modules/
bbb_node/ bbb_node.module, line 316 - Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.
Code
function bbb_node_node_load($entities) {
/** @var \Drupal\bbb_node\Service\NodeMeeting $meeting */
$meeting = \Drupal::service('bbb_node.meeting');
/** @var NodeInterface[] $entities */
foreach ($entities as $node) {
if ($meeting
->isTypeOf($node)) {
$node->bbb = $meeting
->get($node);
}
}
}