Skip to content

Instantly share code, notes, and snippets.

@Bwilliamson55
Last active September 5, 2021 14:19
Show Gist options
  • Save Bwilliamson55/748de11b959afc09322b332a2ae807c5 to your computer and use it in GitHub Desktop.
Save Bwilliamson55/748de11b959afc09322b332a2ae807c5 to your computer and use it in GitHub Desktop.
Magento 2.4.3 ENTITY constants
Entity type id Where it's declared
store \Magento\Store\Model\Store::ENTITY
store_website \Magento\Store\Model\Website::ENTITY
store_group \Magento\Store\Model\Group::ENTITY
order \Magento\Sales\Model\Order::ENTITY
customer \Magento\Customer\Model\Customer::ENTITY
customer_address \Magento\Customer\Model\Indexer\Address\AttributeProvider::ENTITY
customer_group \Magento\Customer\Model\Group::ENTITY
catalog_eav_attribute \Magento\Catalog\Model\ResourceModel\Eav\Attribute::ENTITY
catalog_product \Magento\Catalog\Model\Product::ENTITY
catalog_category \Magento\Catalog\Model\Category::ENTITY
cataloginventory_stock_item \Magento\CatalogInventory\Model\Stock\Item::ENTITY
cataloginventory_stock \Magento\CatalogInventory\Model\Stock::ENTITY
config_data \Magento\Framework\App\Config\ValueInterface::ENTITY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment