Câu 18: Magento 2 Certified Associate Developer
You are adding a child node to the product.info block using the XML: How will this block be rendered?
Nội dung câu hỏi
You are adding a child node to the product.info block using the XML: How will this block be rendered?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Child block nodes are automatically rendered as HTML
- B. By calling $block->getChildHtml('mynewblock') in the parent block's template — đáp án hiện tại
- C. The layout is invalid since block elements cannot be nested
- D. Automatically if the block class Custom implements the _toHtml method
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.