public function ImageStyleStorageDecorator::clearReplacementId 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::clearReplacementId()
- 8.2 webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::clearReplacementId()
- 4.x webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::clearReplacementId()
Clears a replacement ID from the storage.
The method clears the value previously stored with ::setReplacementId().
Parameters
string $name: The ID of the image style to be replaced.
Overrides ImageStyleStorageInterface::clearReplacementId
See also
\Drupal\image\ImageStyleStorageInterface::setReplacementId()
File
- webprofiler/
src/ Entity/ Decorators/ Config/ ImageStyleStorageDecorator.php, line 29
Class
- ImageStyleStorageDecorator
- Class ImageStyleStorageDecorator
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function clearReplacementId($name) {
return $this
->getOriginalObject()
->clearReplacementId($name);
}