From 8a0de21b1a2975ccbcf2bbd407cea7b702cd7c3a Mon Sep 17 00:00:00 2001 From: rpnykanen Date: Wed, 22 Mar 2023 11:46:07 +0200 Subject: [PATCH] update the block code to match what drupal would do --- .../helfi_global_announcement.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/helfi_global_announcement/helfi_global_announcement.module b/modules/helfi_global_announcement/helfi_global_announcement.module index 3c0d8474e..004c8db54 100644 --- a/modules/helfi_global_announcement/helfi_global_announcement.module +++ b/modules/helfi_global_announcement/helfi_global_announcement.module @@ -36,10 +36,10 @@ function helfi_global_announcement_get_block_configurations(string $theme) : arr return [ 'global_announcement' => [ 'block' => [ - 'id' => 'global_announcement', - 'plugin' => 'global_announcement', + 'id' => 'globalannouncement', + 'plugin' => 'global_announcements', 'settings' => [ - 'id' => 'global_announcement', + 'id' => 'global_announcements', 'label' => 'Global announcement', 'provider' => 'helfi_global_announcement', ],