Provide config action for addMatcher method in Profile.php for use in recipes.

Created on 3 March 2025, 3 months ago

Problem/motivation

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.

Proposed resolution

Add #[ActionMethod(adminLabel: new TranslatableMarkup('Add matcher to profile'))] to addMatcher method in Profile.php.

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
Feature request
Status

Active

Version

7.0

Component

Code

Created by

🇮🇳India amangrover90

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024