public function ImageToolkitInterface::save in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::save()
Writes an image resource to a destination file.
Parameters
string $destination: A string file URI or path where the image should be saved.
Return value
bool TRUE on success, FALSE on failure.
2 methods override ImageToolkitInterface::save()
- GDToolkit::save in core/
modules/ system/ src/ Plugin/ ImageToolkit/ GDToolkit.php - Writes an image resource to a destination file.
- TestToolkit::save in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - Writes an image resource to a destination file.
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitInterface.php, line 95 - Contains \Drupal\Core\ImageToolkit\ImageToolkitInterface.
Class
- ImageToolkitInterface
- Defines an interface for image toolkits.
Namespace
Drupal\Core\ImageToolkitCode
public function save($destination);