function ImageStyleStorage::setReplacementId

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

Overrides ImageStyleStorageInterface::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.