Skip to content

Commit 5872d64

Browse files
MC-3032: Update Documentation
- add comment about parent policies and fix complex type docs
1 parent 156dc33 commit 5872d64

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/code/Magento/PageBuilder/docs/content-type-configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ Any modifications you might want to make to content type configuration forms use
232232
### `parents` configuration reference
233233

234234
The `parents` element specifies which content types can accept this type as a child.
235+
Parent policies will overwrite any child policies that are set.
235236

236237
**Example:**
237238
``` xml

app/code/Magento/PageBuilder/docs/how-to-add-new-content-type.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,6 @@ Now, let's add content type that can contain other content types. Create configu
264264
icon="icon-vendorname-complex"
265265
sortOrder="35"
266266
translate="label">
267-
<parents default_policy="deny">
268-
<parent name="row" policy="allow"/>
269-
<parent name="column" policy="allow"/>
270-
</parents>
271267
<children default_policy="deny">
272268
<child name="heading" policy="allow"/>
273269
</children>

0 commit comments

Comments
 (0)