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
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\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.