function ImageStyleStorage::setReplacementId

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

File

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

Class

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

Namespace

Drupal\image

Code

public function setReplacementId($name, $replacement) {
  $this->replacement[$name] = $replacement;
}

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