You are here

public function ImageReplaceStorageInterface::get in Image Replace 8

Determine replacement image uri for the given original filename.

Parameters

string $target_style: The target image style name.

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

Return value

string|null The replacement uri when a mapping for the given uri/style combination exists.

1 method overrides ImageReplaceStorageInterface::get()
ImageReplaceDatabaseStorage::get in src/ImageReplaceDatabaseStorage.php
Determine replacement image uri for the given original filename.

File

src/ImageReplaceStorageInterface.php, line 22

Class

ImageReplaceStorageInterface
Defines the interface for image_replace storage implementations.

Namespace

Drupal\image_replace

Code

public function get($target_style, $target_uri);