Log in
Model

Entity

Magento\ImportExport\Model\Source\Import\Entity

What it does

This class provides a list of available import entity types (like products, customers, etc.) as options for dropdown menus in the Magento admin panel.

Developers use this when building UI components that need to display import entity choices, such as in the import/export configuration screens.

It reads the configured entities from the system and formats them as label-value pairs.

Public Methods

  • toOptionArray()