function filefield_sources_curl_enabled in FileField Sources 8
Same name and namespace in other branches
- 7 sources/remote.inc \filefield_sources_curl_enabled()
Check for CURL extension enabled.
2 calls to filefield_sources_curl_enabled()
- FilefieldSourceManager::getDefinitions in src/
FilefieldSourceManager.php - Gets the definition of all plugins for this type.
- Remote::settings in src/
Plugin/ FilefieldSource/ Remote.php - Implements hook_filefield_source_settings().
File
- ./
filefield_sources.module, line 733 - Extend FileField to allow files from multiple sources.
Code
function filefield_sources_curl_enabled() {
return function_exists('curl_version');
}