Wrong weight setting in Plugin annotation causes fatal

Created on 6 August 2025, 19 days ago

Problem/Motivation

In GroupSitesBase.php the weight setting has the wrong format and causes:
Error: Unknown named parameter $weight in ReflectionAttribute->newInstance() (line 17 of modules/contrib/sites_group/src/Plugin/Site/GroupSitesBase.php).

Proposed resolution

The format should be:

settings: [
    'weight' => -2,
],
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany drupatz

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