You are here

function _opigno_moxtra_is_active in Opigno Moxtra 3.x

Same name and namespace in other branches
  1. 8 opigno_moxtra.module \_opigno_moxtra_is_active()

Helper function to determin if Moxtra is active.

Return value

bool True if Moxtra integration is active.

9 calls to _opigno_moxtra_is_active()
opigno_moxtra_group_content_delete in ./opigno_moxtra.module
Implements hook_ENTITY_TYPE_delete().
opigno_moxtra_group_content_insert in ./opigno_moxtra.module
Implements hook_ENTITY_TYPE_insert().
opigno_moxtra_group_insert in ./opigno_moxtra.module
Implements hook_ENTITY_TYPE_insert().
opigno_moxtra_opigno_moxtra_meeting_delete in ./opigno_moxtra.module
Implements hook_ENTITY_TYPE_delete().
opigno_moxtra_opigno_moxtra_meeting_insert in ./opigno_moxtra.module
Implements hook_ENTITY_TYPE_insert().

... See full list

File

./opigno_moxtra.module, line 72
Contains opigno_moxtra.module.

Code

function _opigno_moxtra_is_active() {
  $org_id = _opigno_moxtra_get_organization_id();
  $status = _opigno_moxtra_get_organization_status();
  return !empty($org_id) && $status === TRUE;
}