ImageStyleStorageInterface::getReplacementId

public ImageStyleStorageInterface::getReplacementId($name)

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()

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);
doc_Drupal
2016-10-29 09:20:02
Comments
Leave a Comment

Please login to continue.