function MiniorangeConfigOAuthClient::mo_get_configuration_array in OAuth2 Login 8
1 call to MiniorangeConfigOAuthClient::mo_get_configuration_array()
File
- src/
Form/ MiniorangeConfigOAuthClient.php, line 510
Class
Namespace
Drupal\oauth2_login\FormCode
function mo_get_configuration_array($class_name) {
$class_object = Utilities::getVariableArray($class_name);
$mo_array = array();
foreach ($class_object as $key => $value) {
$mo_option_exists = \Drupal::config('oauth2_login.settings')
->get($value);
if ($mo_option_exists) {
$mo_array[$key] = $mo_option_exists;
}
}
return $mo_array;
}