Issue #3498889: Add component source plugin
Compare changes
- Wim Leers authored
`::testComponentEntityCreation()` was testing impossible things: things that can only occur if XB config entities are not being validated, which must never occur. In fact, the `JavaScriptComponent` config entity MUST guarantee that whatever is created by the person using the code component editor UI, *is* fully usable when placing an instance of such a component.
@@ -10,6 +10,7 @@ use Drupal\experience_builder\Entity\ComponentInterface;
@@ -24,6 +25,7 @@ final class JavascriptComponentStorageTest extends KernelTestBase {
@@ -72,6 +74,14 @@ final class JavascriptComponentStorageTest extends KernelTestBase {
@@ -80,30 +90,36 @@ final class JavascriptComponentStorageTest extends KernelTestBase {