Skip to content
Snippets Groups Projects

Issue #3498889: Add component source plugin

3 files
+ 168
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -380,8 +380,12 @@ experience_builder.component_source_settings.js:
ConfigExists:
prefix: experience_builder.js_component.
prop_field_definitions:
# @todo There must be a key for every `prop` in the corresponding \Drupal\experience_builder\Entity\JavaScriptComponent::$props
constraints: {}
constraints:
# There must be a key for every `prop` in the corresponding \Drupal\experience_builder\Entity\JavaScriptComponent::$props.
SequenceKeysMustMatch:
configPrefix: experience_builder.js_component.
configName: '%parent.plugin_id'
propertyPathToSequence: props
# This is similar to Block config entities, but different:
# - Block config entities are tied to a particular theme + region (and have a weight to convey position in a region), Block-Plugins-as-XB-Components are not
Loading