GDToolkit::$preLoadInfo
Same name in other branches
- 8.9.x core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::preLoadInfo
- 10 core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::preLoadInfo
- 11.x core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::preLoadInfo
Image information from a file, available prior to loading the GD resource.
This contains a copy of the array returned by executing getimagesize() on the image file when the image object is instantiated. It gets reset to NULL as soon as the GD resource is loaded.
Type: array|null
See also
\Drupal\system\Plugin\ImageToolkit\GDToolkit::parseFile()
\Drupal\system\Plugin\ImageToolkit\GDToolkit::setResource()
http://php.net/manual/function.getimagesize.php
File
-
core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php, line 57
Class
- GDToolkit
- Defines the GD2 toolkit for image manipulation within Drupal.
Namespace
Drupal\system\Plugin\ImageToolkitCode
protected $preLoadInfo = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.