Same filename and directory in other branches
- 8.9.x core/modules/image/src/ImageStyleStorage.php
- 9 core/modules/image/src/ImageStyleStorage.php
Namespace
Drupal\image
File
core/modules/image/src/ImageStyleStorage.php
View source
<?php
namespace Drupal\image;
use Drupal\Core\Config\Entity\ConfigEntityStorage;
class ImageStyleStorage extends ConfigEntityStorage implements ImageStyleStorageInterface {
protected $replacement = [];
public function setReplacementId($name, $replacement) {
$this->replacement[$name] = $replacement;
}
public function getReplacementId($name) {
return $this->replacement[$name] ?? NULL;
}
public function clearReplacementId($name) {
unset($this->replacement[$name]);
}
}
Classes