function ImageStyleStorage::getReplacementId

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

Overrides ImageStyleStorageInterface::getReplacementId

File

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

Class

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

Namespace

Drupal\image

Code

public function getReplacementId($name) {
    return isset($this->replacement[$name]) ? $this->replacement[$name] : NULL;
}

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