You are here

function system_image_toolkits in Drupal 7

Implements hook_image_toolkits().

File

modules/system/system.module, line 3477
Configuration system that lets administrators modify the workings of the site.

Code

function system_image_toolkits() {
  include_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'system') . '/' . 'image.gd.inc';
  return array(
    'gd' => array(
      'title' => t('GD2 image manipulation toolkit'),
      'available' => function_exists('image_gd_check_settings') && image_gd_check_settings(),
    ),
  );
}