- Issue created by @cosmicdreams
- πΊπΈUnited States cosmicdreams Minneapolis/St. Paul
Each entity type that we are parsing is a ConfigEntityType. We are specifically checking if they are one, and if not we "continue" out of process to skip to one that is (until done). As a result, we can benefit from the Entity API methods of a ConfigEntityType.
There are a couple of methods that are extremely interesting from there:
- ConfigEntityType->getKeys() : gets the properties that are used to index data.
- ConfigEntityType->getLookupKeys : "gets keys that are used for fast lookup"
- ConfigEntityType->getPropertiesToExport() : Gets all the data that would be exported to a yml file.
Also it appears that we may be overwriting existing work to establish views for Blocks and Tours. When I check to see if any configuration entity types already have a view builder, those two come up. We should avoid parsing configuration entities that have already put in work to establish their own views, so that we don't duplicate or override what they've done.
Working with the entityTypeManager to get a list of config entity types has given me a path to complete β¨ Consider adding allowed config list Needs work I think I'll shelve this effort for now and complete that one. It has the greatest potential to improve our install-time resource demands / performance.