Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 787 Bytes

2022-08-04-add-customentityconfigservice-and-generate-admin-menu-entries.md

File metadata and controls

13 lines (13 loc) · 787 Bytes
title issue author author_email author_github
Add CustomEntityDefinitionService and generate admin menu entries
NEXT-19272
Niklas Limberg
n.limberg@shopware.com
NiklasLimberg

Administration

  • Added custom-entity-definition.service.ts to save custom entity configs and to generate admin menu entries for custom entities with the admin-ui flag
  • Added sw-custom-entity/index.js to register shared routes for sw-generic-custom-entity-list and sw-generic-custom-entity-detail
  • Changed init/repository.init.js to add custom entity definitions to the customEntityDefinitionService
  • Changed sw-admin-menu/index.js to include menu entries generated from customEntityDefinitionService
  • Changed src/app/main.ts to register the customEntityDefinitionService