- Issue created by @lpeidro
- Merge request !61Draft: Issue #3537584: Added logic to apply a custom sort during the import process → (Open) created by lpeidro
- First commit to issue fork.
- 🇪🇸Spain frouco
The order of the entity types in the 'custom_sort' is now taken into account when sorting the import order.
When the default content has several dependencies, the order of the entity types provided by entityTypeManager->getDefinitions() is more relevant than the order of the .yml files due to the dependency tree.
Use case: The order provided by entityTypeManager->getDefinitions() is alphabetical, so if the default content has comments, they will determine the import order of the nodes, users, etc.