QuestionQ1

Developing with Admin

An Adobe Commerce developer must modify the PageBuilder slider content type so a new custom content type, rather than slide, can be assigned as its child. The developer has already created the new content type, named improved_slide, in their module. They now need to create view/adminhtml1/pagebuilder/content_type/slider.xml in that module to permit the new content type as a child of slider content types.

What XML correctly accomplishes this?

  • A
  • B
  • C
Explanation

Page Builder configures the child types allowed inside a container content type through the <children> node. A <child name="improved_slide" policy="allow"/> entry added under the merged slider type explicitly permits improved_slide as a slider child.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!