You are here

function MiniornageAdvanceSettings::mo_get_configuration_array in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

1 call to MiniornageAdvanceSettings::mo_get_configuration_array()
MiniornageAdvanceSettings::miniorange_import_export in src/Form/MiniornageAdvanceSettings.php

File

src/Form/MiniornageAdvanceSettings.php, line 284
Contains \Drupal\miniorange_saml\Form\Export.

Class

MiniornageAdvanceSettings

Namespace

Drupal\miniorange_saml\Form

Code

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('miniorange_saml.settings')
      ->get($value);
    if ($mo_option_exists) {
      $mo_array[$key] = $mo_option_exists;
    }
  }
  return $mo_array;
}