You are here

function mo_get_configuration_array in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 7

1 call to mo_get_configuration_array()
miniorange_import_export in ./miniorange_config.php

File

./miniorange_config.php, line 763

Code

function mo_get_configuration_array($class_name) {
  $class_object = Utilities::getVariableNames($class_name);
  $mo_array = array();
  foreach ($class_object as $key => $value) {
    $mo_option_exists = variable_get($value);
    if ($mo_option_exists) {
      $mo_array[$key] = $mo_option_exists;
    }
  }
  return $mo_array;
}