diff --git a/config/schema/forum.schema.yml b/config/schema/forum.schema.yml index dbe44fc91fe6635b26c08bc2716c75ba53b1098a..e8d411469a0e9d03deb7cd23ddc4516f450f901b 100644 --- a/config/schema/forum.schema.yml +++ b/config/schema/forum.schema.yml @@ -43,11 +43,6 @@ block.settings.forum_active_block: type: block_settings label: 'Active forum topics block' mapping: - properties: - type: sequence - label: 'Properties' - sequence: - type: string block_count: type: integer label: 'Block count' @@ -56,11 +51,6 @@ block.settings.forum_new_block: type: block_settings label: 'New forum topics block' mapping: - properties: - type: sequence - label: 'Properties' - sequence: - type: string block_count: type: integer label: 'Block count' diff --git a/src/Plugin/Block/ForumBlockBase.php b/src/Plugin/Block/ForumBlockBase.php index 8095ceffb8e05fea514cf7d7fc47fbd08070d284..eeda4955386f3d1c11e981c238e25df987779669 100644 --- a/src/Plugin/Block/ForumBlockBase.php +++ b/src/Plugin/Block/ForumBlockBase.php @@ -44,9 +44,6 @@ abstract class ForumBlockBase extends BlockBase { */ public function defaultConfiguration() { return [ - 'properties' => [ - 'administrative' => TRUE, - ], 'block_count' => 5, ]; } diff --git a/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php b/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php index aef056bdccc68fb49040ec2b72e8bc2c785ff736..214b78412907888583d6854c76012e7885e47f44 100644 --- a/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php +++ b/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php @@ -108,9 +108,6 @@ class MigrateBlockTest extends MigrateDrupal6TestBase { 'provider' => 'forum', 'label_display' => '0', 'block_count' => 3, - 'properties' => [ - 'administrative' => '1', - ], ]; $this->assertEntity('forum', [], 'sidebar', 'olivero', -8, $settings); @@ -120,9 +117,6 @@ class MigrateBlockTest extends MigrateDrupal6TestBase { 'provider' => 'forum', 'label_display' => '0', 'block_count' => 4, - 'properties' => [ - 'administrative' => '1', - ], ]; $this->assertEntity('forum_1', [], 'sidebar', 'olivero', -9, $settings); }