What is the scope of source model extend and implement between these two?



Attribute options are loaded via the attribute’s source class. The source class must extend \Magento\Eav\Model\Entity\Attribute\Source\ AbstractSource. which further extend Magento\Framework\Option\ArrayInterface.

but when to implement \Magento\Framework\Data\OptionSourceInterface

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.