function ImageStyleInterface::getReplacementID

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.