Following example: if a entity with id 'entity_projectext' and 'entity_project' exist, but only 'entity_projectext' should be in indexed.
Problem: Submitting the "SimplesitemapEntitiesForm", it loops all available entity types and enable (create config file, ...) or disable (delete config file, ...). For accessing the correct config files, you get them with `$this->configFactory->listAll`. This method returns all config files with the given parameter, but not exactly one, all which has the given parameter in their name.
"simple_sitemap.bundle_settings.entity_projectext.entity_projectext" -> correct
"simple_sitemap.bundle_settings.entity_project.entity_project" -> this will find 'entity_project' and 'entity_projectext'
Best regards,
Nino
Comments
Comment #4
gbyte CreditAttribution: gbyte as a volunteer and commentedGood catch, commited to dev. Thanks!