2006-07-13 13:14:25 +00:00
<?php
2009-05-13 19:42:18 +00:00
/**
* @file
* Install, update and uninstall functions for the aggregator module.
*/
2012-11-30 01:26:33 +00:00
/**
* Implements hook_requirements().
*/
function aggregator_requirements($phase) {
$has_curl = function_exists('curl_init');
2017-03-04 01:20:24 +00:00
$requirements = [];
$requirements['curl'] = [
2013-06-17 13:35:07 +00:00
'title' => t('cURL'),
'value' => $has_curl ? t('Enabled') : t('Not found'),
2017-03-04 01:20:24 +00:00
];
2012-11-30 01:26:33 +00:00
if (!$has_curl) {
$requirements['curl']['severity'] = REQUIREMENT_ERROR;
2020-08-03 09:10:21 +00:00
$requirements['curl']['description'] = t('The Aggregator module requires the <a href="https://secure.php.net/manual/en/curl.setup.php">PHP cURL library</a>. For more information, see the <a href="https://www.drupal.org/docs/system-requirements/php-requirements#curl">online information on installing the PHP cURL extension</a>.');
2012-11-30 01:26:33 +00:00
}
return $requirements;
}
2015-10-30 22:48:31 +00:00
/**
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**
2020-01-24 23:52:03 +00:00
* Implements hook_update_last_removed().
2015-10-30 22:48:31 +00:00
*/
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**
2020-01-24 23:52:03 +00:00
function aggregator_update_last_removed() {
return 8501;
2017-12-10 21:11:47 +00:00
}