function ImageToolkitBase::getSource
Gets the source path of the image file.
Return value
string The source path of the image file, or an empty string if the source is not set.
Overrides ImageToolkitInterface::getSource
4 calls to ImageToolkitBase::getSource()
- GDToolkit::load in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Loads an image from a file.
- GDToolkit::parseFile in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - ImageToolkitBase::apply in core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitBase.php - TestToolkit::parseFile in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php
File
-
core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitBase.php, line 94
Class
- ImageToolkitBase
- Provides a base class for image toolkit plugins.
Namespace
Drupal\Core\ImageToolkitCode
public function getSource() {
return $this->source;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.