You are here

public function ImageToolkitInterface::getRequirements in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\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

hook_requirements()

1 method overrides ImageToolkitInterface::getRequirements()
ImageToolkitBase::getRequirements in core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php
Gets toolkit requirements in a format suitable for hook_requirements().

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 146
Contains \Drupal\Core\ImageToolkit\ImageToolkitInterface.

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public function getRequirements();