'entity_test', 'bundle' => 'entity_test', 'mode' => 'default', 'status' => TRUE, 'third_party_settings' => [ 'layout_builder' => [ 'sections' => $section_data, ], ], ]); $display->save(); return $display; } /** * Tests that configuration schema enforces valid values. */ public function testInvalidConfiguration() { $this->setExpectedException(SchemaIncompleteException::class); $this->sectionStorage->getSection(0)->getComponent('first-uuid')->setConfiguration(['id' => 'foo', 'bar' => 'baz']); $this->sectionStorage->save(); } }