- Issue created by @amangrover90
We've a use case where a recipe installs a module and thus provides a new entity type. Now we want to add this entity type to the matcher list for the profile we are using for links.
Currently I used simpleConfigUpdate config action but the problem with this approach is that I've to copy all the active matchers to the recipe.yml which is tedious and can be problematic if any matcher goes missing.
Add #[ActionMethod(adminLabel: new TranslatableMarkup('Add matcher to profile'))]
to addMatcher method in Profile.php.
Active
7.0
Code