summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit2018-08-02 10:06:53 (GMT)
committerFido van den Bos2018-08-02 10:06:53 (GMT)
commit44fed86dc5accfae81480d1d0d0e1e52bd737b15 (patch)
tree4d95cee59b42aa5319d6db8d5eb2078be7867fc1
parent5d87cf44398c55071ceacb353435948945d7df66 (diff)
Issue #2981825 by jorgvloet: Notice: Undefined index: revision_id and Notice: Undefined index: rev_id_current when exporting custom blocksHEAD8.x-1.x
-rw-r--r--src/Controller/BlocksController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Controller/BlocksController.php b/src/Controller/BlocksController.php
index 7d527f5..c3adf88 100644
--- a/src/Controller/BlocksController.php
+++ b/src/Controller/BlocksController.php
@@ -65,6 +65,8 @@ class BlocksController extends ControllerBase {
'langcode' => $block->langcode->getValue()[0]['value'],
'uuid' => $block->uuid(),
'bundle' => $block->bundle(),
+ 'revision_id' => null,
+ 'rev_id_current' => null,
];
$entityFieldManager = StructureSyncHelper::getEntityFieldManager();