public function ImageToolkitInterface::getRequirements
public ImageToolkitInterface::getRequirements()
Gets toolkit requirements in a format suitable for hook_requirements().
Return value
array An associative requirements array as is returned by hook_requirements(). If the toolkit claims no requirements to the system, returns an empty array. The array can have arbitrary keys and they do not have to be prefixed by e.g. the module name or toolkit ID, as the system will make the keys globally unique.
See also
File
- core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 141
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public function getRequirements();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitInterface.php/function/ImageToolkitInterface::getRequirements/8.1.x