hook_image_toolkits

Definition

hook_image_toolkits()
drupal/modules/system/system.api.php, line 316

Description

  • Define image toolkits provided by this module.
*
  • The file which includes each toolkit's functions must be declared as part of
  • the files array in the module .info file so that the registry will find and
  • parse it.
* *

Return value

  • An array of image toolkit names.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

function hook_image_toolkits() {
  return array('gd');
}