Câu 19: Magento 2 Certified Associate Developer
You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admission is already intercepting using a before plugin: Topmenu::getBlockHtmlWhich two actions are required to ensure the new plugin will execute last? (Choose two.)
Nội dung câu hỏi
You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admission is already intercepting using a before plugin: Topmenu::getBlockHtmlWhich two actions are required to ensure the new plugin will execute last? (Choose two.)
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. Include a sortOrder=ג€20ג€ on the new plugin in MyCompany_Magic's etc/di.xml file
- B. Configure plugin sequencing for both plugins in MyCompany_Magic's etc/plugin_sequence.xml file
- C. Set a sortOrder=ג€10ג€ for MyCompany_Admission's plugin in MyCompany_Magic's etc/di.xml — đáp án hiện tại
- D. Add MyCompany_Admission as a dependency in MyCompany_Magic's etc/module.xml file — đáp án hiện tại
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.