Câu 22: Magento 2 Certified Associate Developer
A merchant tasked you to add an input field for notes to the Customer Account Information backend page. Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)
Nội dung câu hỏi
A merchant tasked you to add an input field for notes to the Customer Account Information backend page. Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)
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. $cache->clean(['eav', 'db_ddl']); — đáp án hiện tại
- B. $customerSetup->addAttribute('customer', 'notes', $options); — đáp án hiện tại
- C. $customerSetup->getConnection()->addColumn('customer_entity', 'notes', $columnSpecs);
- D. $notesAttribute->setData('used_in_forms', ['adminhtml_customer']); — đáp án hiện tại
- E. $customerSetup->addAttributeToSet('customer', $attributeSetIdCustomer, $groupId, 'notes');
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.