public function ImageStyleStorageDecorator::getReplacementId in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::getReplacementId()
- 8.2 webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::getReplacementId()
- 4.x webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::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.
Overrides ImageStyleStorageInterface::getReplacementId
See also
\Drupal\image\ImageStyleStorageInterface::setReplacementId()
File
- webprofiler/
src/ Entity/ Decorators/ Config/ ImageStyleStorageDecorator.php, line 22
Class
- ImageStyleStorageDecorator
- Class ImageStyleStorageDecorator
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function getReplacementId($name) {
return $this
->getOriginalObject()
->getReplacementId($name);
}