You are here

public function ImageReplaceStorageInterface::remove in Image Replace 8

Remove the given image replacement mapping if it exists.

Parameters

string $target_style: The target image style name.

string $target_uri: The uri of the image for which to remove the replacement.

1 method overrides ImageReplaceStorageInterface::remove()
ImageReplaceDatabaseStorage::remove in src/ImageReplaceDatabaseStorage.php
Remove the given image replacement mapping if it exists.

File

src/ImageReplaceStorageInterface.php, line 44

Class

ImageReplaceStorageInterface
Defines the interface for image_replace storage implementations.

Namespace

Drupal\image_replace

Code

public function remove($target_style, $target_uri);