function _opigno_moxtra_get_organization_id in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x opigno_moxtra.module \_opigno_moxtra_get_organization_id()
Returns current organization id.
Return value
string|null Organization id.
2 calls to _opigno_moxtra_get_organization_id()
- opigno_moxtra_cronjob_meeting_notification in ./opigno_moxtra.module 
- Cron job callback for opigno_moxtra_meeting_notification.
- _opigno_moxtra_is_active in ./opigno_moxtra.module 
- Helper function to determin if Moxtra is active.
File
- ./opigno_moxtra.module, line 28 
- Contains opigno_moxtra.module.
Code
function _opigno_moxtra_get_organization_id() {
  $config = \Drupal::config('opigno_moxtra.settings');
  return $config
    ->get('org_id');
}