function ImageStyleStorageInterface::clearReplacementId

Same name in other branches
  1. 9 core/modules/image/src/ImageStyleStorageInterface.php \Drupal\image\ImageStyleStorageInterface::clearReplacementId()
  2. 8.9.x core/modules/image/src/ImageStyleStorageInterface.php \Drupal\image\ImageStyleStorageInterface::clearReplacementId()
  3. 10 core/modules/image/src/ImageStyleStorageInterface.php \Drupal\image\ImageStyleStorageInterface::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.

See also

\Drupal\image\ImageStyleStorageInterface::setReplacementId()

1 method overrides ImageStyleStorageInterface::clearReplacementId()
ImageStyleStorage::clearReplacementId in core/modules/image/src/ImageStyleStorage.php
Clears a replacement ID from the storage.

File

core/modules/image/src/ImageStyleStorageInterface.php, line 52

Class

ImageStyleStorageInterface
Interface for storage controller for "image style" configuration entities.

Namespace

Drupal\image

Code

public function clearReplacementId($name);

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