You are here

public function ImageStyleInterface::getReplacementID in Drupal 8

Returns the replacement ID.

Return value

string|null The replacement image style ID or NULL if no replacement has been selected.

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\image\ImageStyleStorageInterface::getReplacementId() instead.

See also

\Drupal\image\ImageStyleStorageInterface::getReplacementId()

1 method overrides ImageStyleInterface::getReplacementID()
ImageStyle::getReplacementID in core/modules/image/src/Entity/ImageStyle.php
Returns the replacement ID.

File

core/modules/image/src/ImageStyleInterface.php, line 24

Class

ImageStyleInterface
Provides an interface defining an image style entity.

Namespace

Drupal\image

Code

public function getReplacementID();