You are here

public function ImageStyleStorageInterface::getReplacementId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageStyleStorageInterface.php \Drupal\image\ImageStyleStorageInterface::getReplacementId()

Retrieves the replacement ID of a deleted image style.

The method is retrieving the value stored by ::setReplacementId().

Parameters

string $name: The ID of the image style to be replaced.

Return value

string|null The ID of the image style used as replacement, if there's any, or NULL.

See also

\Drupal\image\ImageStyleStorageInterface::setReplacementId()

1 method overrides ImageStyleStorageInterface::getReplacementId()
ImageStyleStorage::getReplacementId in core/modules/image/src/ImageStyleStorage.php
Retrieves the replacement ID of a deleted image style.

File

core/modules/image/src/ImageStyleStorageInterface.php, line 38

Class

ImageStyleStorageInterface
Interface for storage controller for "image style" configuration entities.

Namespace

Drupal\image

Code

public function getReplacementId($name);