You are here

ImageStyleStorageDecorator.php in Devel 4.x

File

webprofiler/src/Entity/Decorators/Config/ImageStyleStorageDecorator.php
View source
<?php

namespace Drupal\webprofiler\Entity\Decorators\Config;

use Drupal\image\ImageStyleStorageInterface;

/**
 * Class ImageStyleStorageDecorator.
 */
class ImageStyleStorageDecorator extends ConfigEntityStorageDecorator implements ImageStyleStorageInterface {

  /**
   * {@inheritdoc}
   */
  public function setReplacementId($name, $replacement) {
    return $this
      ->getOriginalObject()
      ->setReplacementId($name, $replacement);
  }

  /**
   * {@inheritdoc}
   */
  public function getReplacementId($name) {
    return $this
      ->getOriginalObject()
      ->getReplacementId($name);
  }

  /**
   * {@inheritdoc}
   */
  public function clearReplacementId($name) {
    return $this
      ->getOriginalObject()
      ->clearReplacementId($name);
  }

}

Classes

Namesort descending Description
ImageStyleStorageDecorator Class ImageStyleStorageDecorator.