You are here

public function ImageStyleStorageDecorator::clearReplacementId in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::clearReplacementId()
  2. 8 webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ImageStyleStorageDecorator::clearReplacementId()
  3. 8.2 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\Config

Code

public function clearReplacementId($name) {
  return $this
    ->getOriginalObject()
    ->clearReplacementId($name);
}