public static function Utilities::isCurlInstalled in OAuth2 Login 8
5 calls to Utilities::isCurlInstalled()
- MiniorangeOAuthClientCustomer::checkCustomer in src/
MiniorangeOAuthClientCustomer.php - Check if customer exists.
- MiniorangeOAuthClientCustomer::createCustomer in src/
MiniorangeOAuthClientCustomer.php - Create Customer.
- MiniorangeOAuthClientCustomer::getCustomerKeys in src/
MiniorangeOAuthClientCustomer.php - Get Customer Keys.
- MiniorangeOAuthClientCustomer::sendOtp in src/
MiniorangeOAuthClientCustomer.php - Send OTP.
- MiniorangeOAuthClientCustomer::validateOtp in src/
MiniorangeOAuthClientCustomer.php - Validate OTP.
File
- src/
Utilities.php, line 259
Class
Namespace
Drupal\oauth2_loginCode
public static function isCurlInstalled() {
if (in_array('curl', get_loaded_extensions())) {
return 1;
}
else {
return 0;
}
}