You are here

function MiniorangeConfigOAuthClient::mo_oauth_is_dom_installed in OAuth2 Login 8

1 call to MiniorangeConfigOAuthClient::mo_oauth_is_dom_installed()
MiniorangeConfigOAuthClient::mo_get_version_informations in src/Form/MiniorangeConfigOAuthClient.php

File

src/Form/MiniorangeConfigOAuthClient.php, line 555

Class

MiniorangeConfigOAuthClient

Namespace

Drupal\oauth2_login\Form

Code

function mo_oauth_is_dom_installed() {
  if (in_array('dom', get_loaded_extensions())) {
    return 1;
  }
  else {
    return 0;
  }
}