GDToolkit::$preLoadInfo

Same name and namespace in other branches
  1. 9 core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::preLoadInfo
  2. 8.9.x core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php \Drupal\system\Plugin\ImageToolkit\GDToolkit::preLoadInfo
  3. 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 object.

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 object is loaded.

Type: array|null

See also

\Drupal\system\Plugin\ImageToolkit\GDToolkit::parseFile()

\Drupal\system\Plugin\ImageToolkit\GDToolkit::setImage()

http://php.net/manual/function.getimagesize.php

File

core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php, line 56

Class

GDToolkit
Defines the GD2 toolkit for image manipulation within Drupal.

Namespace

Drupal\system\Plugin\ImageToolkit

Code

protected $preLoadInfo = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.