In magento 2.3.1, I created custom eav_entity_type
and attribute also assign under that custom eav_entity_type
.
Now, I added attribute options programmatically in that attribute and that record I saved in eav_attribute_options
and eav_attribute_options_value
tables.
Now, I used this below code for get that all options. But, I return blank array.
/*Get attribute details*/
$attributeDetails = $this->eavConfig->getAttribute("custom_eav_entity_type", 'custom_eav_attr');
print_r($attributeDetails->getData()); //return blanks
How do I get that all options?
Any help would be appriciated.
Thanks.