public function ImageToolkitBase::getRequirements in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::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.
Overrides ImageToolkitInterface::getRequirements
See also
1 method overrides ImageToolkitBase::getRequirements()
- GDToolkit::getRequirements in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Gets toolkit requirements in a format suitable for hook_requirements().
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitBase.php, line 107 - Contains \Drupal\Core\ImageToolkit\ImageToolkitBase.
Class
- ImageToolkitBase
- Provides a base class for image toolkit plugins.
Namespace
Drupal\Core\ImageToolkitCode
public function getRequirements() {
return array();
}