Allow to extend ProjectBrowserSource plugins

Created on 27 November 2024, 25 days ago

Problem/Motivation

As an example, the plugin at \Drupal\project_browser\Plugin\ProjectBrowserSource\Recipes declares a lot of components private, which could also be protected instead.

This would allow to extend that plugin to e.g. provide a separate location for recipes, which is what we're doing for an application that we build and end-users should be able to enhance by applying application specific recipes. For that we would only want to override the getFinder() method.

Proposed resolution

Change the scope for class variables and the getFinder() method from private to protected.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024