Important

You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Entity Structure Data Provider

Namespace: Oro\Bundle\EntityBundle\Provider\EntityStructureDataProvider

Provides data of all configurable entities. Collects the following data (see Oro\Bundle\EntityBundle\Model\EntityStructure):

  • Entity aliases

  • Entity labels (translated)

  • Entity fields (see Oro\Bundle\EntityBundle\Model\EntityFieldStructure)

  • Entity options (for example auditable)

  • Entity routes.

For every field, the following information is provided:

  • name

  • type

  • label (translated)

  • type of relation (oneToMany, manyToMany and so on)

  • options (for example [configurable: true, auditable: false]).

This data can be returned by API.

This data can be extended or modified using event (see Entity Structure Options Event).