You are here

function MiniorangeConfigOAuthClient::mo_oauth_is_iconv_installed in OAuth2 Login 8

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

File

src/Form/MiniorangeConfigOAuthClient.php, line 548

Class

MiniorangeConfigOAuthClient

Namespace

Drupal\oauth2_login\Form

Code

function mo_oauth_is_iconv_installed() {
  if (in_array('iconv', get_loaded_extensions())) {
    return 1;
  }
  else {
    return 0;
  }
}