function _opigno_moxtra_get_binder_id in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 opigno_moxtra.module \_opigno_moxtra_get_binder_id()
Returns the Moxtra binder ID of the workspace of the training group.
Parameters
\Drupal\group\Entity\GroupInterface $group: Training group.
Return value
string|null Moxtra binder ID.
File
- ./
opigno_moxtra.module, line 125 - Contains opigno_moxtra.module.
Code
function _opigno_moxtra_get_binder_id(GroupInterface $group) {
$workspace = _opigno_moxtra_get_workspace($group);
if (isset($workspace)) {
return $workspace
->getBinderId();
}
return NULL;
}