You are here

public function PurgeDependCurl::depends in Purge 7.2

Declares the dependency on the curl library.

File

includes/purge.class.inc, line 245
Contains all class and interface definitions for Purge.

Class

PurgeDependCurl
Checks if the curl library is installed.

Code

public function depends() {
  $dependables = array(
    'custom' => array(
      'curl' => array(
        'name' => t('The Curl library for PHP.'),
        'description' => t('Install the curl library.'),
        'help_link' => 'http://php.net/manual/en/book.curl.php',
      ),
    ),
  );
  return $dependables;
}