Skip to content
Snippets Groups Projects
Commit fa164a31 authored by Sven Decabooter's avatar Sven Decabooter
Browse files

Issue #3211413 by svendecabooter, grayle, Webbeh: Support block_uuid inline block configuration

parent 94b6e4d1
No related branches found
No related tags found
1 merge request!26Issue #3211413 by grayle, svendecabooter: Support block_uuid inline block configuration
Pipeline #479231 passed with warnings
......@@ -390,6 +390,11 @@ class LayoutBuilderCopyWidget extends WidgetBase {
protected function updateComponentConfiguration(array $configuration, BlockContentInterface $replicated_block): array {
$configuration['block_id'] = $replicated_block->id();
$configuration['block_revision_id'] = $replicated_block->getRevisionId();
// Add support for block UUID export.
// @see https://www.drupal.org/node/3180702
if (!empty($configuration['block_uuid'])) {
$configuration['block_uuid'] = $replicated_block->uuid();
}
return $configuration;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment