You are here

function _opigno_moxtra_get_organization_status in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x opigno_moxtra.module \_opigno_moxtra_get_organization_status()

Returns current organization status.

Return value

bool|null Organization status.

1 call to _opigno_moxtra_get_organization_status()
_opigno_moxtra_is_active in ./opigno_moxtra.module
Helper function to determin if Moxtra is active.

File

./opigno_moxtra.module, line 39
Contains opigno_moxtra.module.

Code

function _opigno_moxtra_get_organization_status() {
  $config = \Drupal::config('opigno_moxtra.settings');
  return $config
    ->get('status');
}