Commit 7d56b15f authored by Steven Jones's avatar Steven Jones Committed by Steven Jones
Browse files

Issue #3028613 by Steven Jones, stillworks, ashleyhazle: Fix cannot add...

Issue #3028613 by Steven Jones, stillworks, ashleyhazle: Fix cannot add processor with configuration to an existing pipeline
parent b53b29f1
......@@ -75,9 +75,17 @@ class ImageAPIOptimizePipelineListBuilder extends ConfigEntityListBuilder {
'url' => $entity->toUrl('flush-form'),
];
return parent::getDefaultOperations($entity) + [
'flush' => $flush,
];
$operations = parent::getDefaultOperations($entity) + [
'flush' => $flush,
];
// Remove destination URL from the edit link to allow editing pipeline
// processors.
if (isset($operations['edit'])) {
$operations['edit']['url'] = $entity->toUrl('edit-form');
}
return $operations;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment