Abstract Entities and Repositories

The bundle provides a series of abstract entities.


This entity implements the basic interfaces that are used in Akeneo. It defines a “code” property which is used throughout the PIM as the entity’s identifier.

The repositories for this type of entities should extend Pim\Bundle\CustomEntityBundle\Entity\Repository\CustomEntityRepository.


This entity extends the AbstractCustomEntity, and provides a link to a translation entity. This is used to provide a different label or description for each activated locale for instance.

The entity containing the translations should implement Akeneo\Component\Localization\Model\TranslatableInterface.

The repositories for this type of entity should extend Pim\Bundle\CustomEntityBundle\Entity\Repository\TranslatableCustomEntityRepository.