public function ImageAPIOptimizePipelineStorage::clearReplacementId in Image Optimize (or ImageAPI Optimize) 8.3
Same name and namespace in other branches
- 8.2 src/ImageAPIOptimizePipelineStorage.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineStorage::clearReplacementId()
- 4.x src/ImageAPIOptimizePipelineStorage.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineStorage::clearReplacementId()
Clears a replacement ID from the storage.
The method clears the value previously stored with ::setReplacementId().
Parameters
string $name: The ID of the image optimize pipeline to be replaced.
Overrides ImageAPIOptimizePipelineStorageInterface::clearReplacementId
See also
\Drupal\imageapi_optimize\ImageAPIOptimizePipelineStorageInterface::setReplacementId()
File
- src/
ImageAPIOptimizePipelineStorage.php, line 42
Class
- ImageAPIOptimizePipelineStorage
- Storage controller class for "image optimize pipeline" configuration entities.
Namespace
Drupal\imageapi_optimizeCode
public function clearReplacementId($name) {
unset($this->replacement[$name]);
}