function GDToolkit::isValid
Same name in other branches
- 8.9.x core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::isValid()
- 10 core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::isValid()
- 11.x core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::isValid()
Overrides ImageToolkitInterface::isValid
1 call to GDToolkit::isValid()
- GDToolkit::load in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Loads a GD resource from a file.
File
-
core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php, line 232
Class
- GDToolkit
- Defines the GD2 toolkit for image manipulation within Drupal.
Namespace
Drupal\system\Plugin\ImageToolkitCode
public function isValid() {
return (bool) $this->preLoadInfo || (bool) $this->resource;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.