function _opigno_moxtra_get_binder_id in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x 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 123 - 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;
}