I want to get new added option or all option at the time of save multiselect attribute from admin.
Which event I need to use for multiselect attribute save?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI want to get new added option or all option at the time of save multiselect attribute from admin.
Which event I need to use for multiselect attribute save?
I have found the event which we use for attribute save
catalog_entity_attribute_save_after
Here we can get current attribute option by Magento\Catalog\Model\Product\Attribute\Repository
if ($attrCode == "MyAttribute")
{
$attributeOptions = $this->repository->get($attrCode)->getOptions();
....
....
}