Fix ParentEntityHandler attribute to call parent constructor

The Plugin base class requires the parent constructor to be called
with the id and deriver parameters. This fixes a TypeError in
HookCollectorPass during container compilation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 09:49:04 -03:00
parent 0c8f0fc778
commit 7c898ad339

View File

@@ -61,6 +61,8 @@ class ParentEntityHandler extends Plugin {
public readonly array $bundle_restrictions = [],
public readonly int $weight = 0,
public readonly ?string $deriver = NULL,
) {}
) {
parent::__construct($id, $deriver);
}
}