You are here

public function ImageAPIOptimizePipelineStorageInterface::setReplacementId in Image Optimize (or ImageAPI Optimize) 8.3

Same name and namespace in other branches
  1. 8.2 src/ImageAPIOptimizePipelineStorageInterface.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineStorageInterface::setReplacementId()
  2. 4.x src/ImageAPIOptimizePipelineStorageInterface.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineStorageInterface::setReplacementId()

Stores a replacement ID for an image optimize pipeline being deleted.

The method stores a replacement pipeline to be used by the configuration dependency system when a image optimize pipeline is deleted. The replacement pipeline is replacing the deleted pipeline in other configuration entities that are depending on the image optimize pipeline being deleted.

Parameters

string $name: The ID of the image optimize pipeline to be deleted.

string $replacement: The ID of the image optimize pipeline used as replacement.

1 method overrides ImageAPIOptimizePipelineStorageInterface::setReplacementId()
ImageAPIOptimizePipelineStorage::setReplacementId in src/ImageAPIOptimizePipelineStorage.php
Stores a replacement ID for an image optimize pipeline being deleted.

File

src/ImageAPIOptimizePipelineStorageInterface.php, line 23

Class

ImageAPIOptimizePipelineStorageInterface
Interface for storage controller for "imageapi optimize pipeline" configuration entities.

Namespace

Drupal\imageapi_optimize

Code

public function setReplacementId($name, $replacement);