function ImageToolkitBase::getSource

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::getSource()
  2. 10 core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::getSource()
  3. 11.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php \Drupal\Core\ImageToolkit\ImageToolkitBase::getSource()

Overrides ImageToolkitInterface::getSource

3 calls to ImageToolkitBase::getSource()
GDToolkit::load in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Loads a GD resource from a file.
GDToolkit::parseFile in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Determines if a file contains a valid image.
TestToolkit::parseFile in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
Determines if a file contains a valid image.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php, line 94

Class

ImageToolkitBase
Provides a base class for image toolkit plugins.

Namespace

Drupal\Core\ImageToolkit

Code

public function getSource() {
    return $this->source;
}

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