Jefferson49 / RepositoryHierarchy

A weebtrees 2.1/2.2 custom module to present the structure of a repository and its sources in a hierarchical manner.
GNU General Public License v3.0
6 stars 3 forks source link

Idea: Check replacements of views in order to avoid conflicts with other modules #45

Closed Jefferson49 closed 1 year ago

Jefferson49 commented 1 year ago

Fisharebest\Webtrees\View seemingly contains a list of replacements. This list could be checked during runtime and a warning could be created if a view is replaced by several modules.

views-replacesments

Note: Currently, Repository Hierarchy already checks if webtrees-simple-media-display is activated in parallel and shows a flash message in the control panel.

Jefferson49 commented 1 year ago

Seemingly, Fisharebest\Webtrees\View does not have a method to reach private static array $replacements.

Jefferson49 commented 1 year ago

Implemented with efd7a2e