function ImageStyleStorage::clearReplacementId

Same name and namespace in other branches
  1. 9 core/modules/image/src/ImageStyleStorage.php \Drupal\image\ImageStyleStorage::clearReplacementId()
  2. 8.9.x core/modules/image/src/ImageStyleStorage.php \Drupal\image\ImageStyleStorage::clearReplacementId()
  3. 10 core/modules/image/src/ImageStyleStorage.php \Drupal\image\ImageStyleStorage::clearReplacementId()

Overrides ImageStyleStorageInterface::clearReplacementId

File

core/modules/image/src/ImageStyleStorage.php, line 42

Class

ImageStyleStorage
Storage controller class for "image style" configuration entities.

Namespace

Drupal\image

Code

public function clearReplacementId($name) {
    unset($this->replacement[$name]);
}

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