Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ImageToolkitInterface.php

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

1 method overrides ImageToolkitInterface::save()
GDToolkit::save in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Writes an image resource to a destination file.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 90

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public function save($destination);
RSS feed
Powered by Drupal