t('cURL'), 'value' => $has_curl ? t('Enabled') : t('Not found'), ); if (!$has_curl) { $requirements['curl']['severity'] = REQUIREMENT_ERROR; $requirements['curl']['description'] = t('The Aggregator module could not be installed because the PHP cURL library is not available.', array('@curl_url' => 'http://php.net/manual/curl.setup.php')); } return $requirements; }