Commit 3c65d78a authored by EclipseGc's avatar EclipseGc

PageManager specific issues related to this are post-wizard changes to the...

PageManager specific issues related to this are post-wizard changes to the handling of parameters and must be fixed there. This change introduces failures to PageManager tests which should always have been failing had we be properly handling plugin configuration for these variants.
parent 9e622f0f
......@@ -152,8 +152,8 @@ abstract class BlockDisplayVariant extends VariantBase implements ContextAwareVa
* {@inheritdoc}
*/
public function setConfiguration(array $configuration) {
if ($this->configuration) {
// preserve the uuid.
// preserve the uuid.
if ($this->configuration && !empty($this->configuration['uuid'])) {
$configuration['uuid'] = $this->configuration['uuid'];
}
parent::setConfiguration($configuration);
......
Markdown is supported
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