Install

Works with Drupal: ^10.3 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 9.51 KB
MD5: a2d440e71d809a3239aa7eedb289b0f4
SHA-1: 22bb7dc0bd2841f3898f7aad964a6ffb94911c80
SHA-256: 624ee28b83b09a3d8a1d60d087b511b45e059c7b4c6abc90f87de7f9d0772848
Download zip 12.18 KB
MD5: 353e464d324b0441ae6b8e891aea13fb
SHA-1: 0c2d1024260a9a6d1e7e7c1414c6153e05f02519
SHA-256: ebe7efc0d9a4ba756000d04d3ab8c2ddc1b1c856f1e953f7847f5d593c57993b

Release notes

Fixed issues

1. core_version_requirement: ^10 || ^11 — must be ^10.3 || ^11
2. Missing package key

src/Form/FixAnonymousNodes.php
3. Missing declare(strict_types=1)
4. getFormId() missing return type : string
5. buildForm() missing return type : array
6. submitForm() missing return type : void
7. Database::getConnection() — static call; should inject Connection via
constructor
8. User::load($target_uid) — static entity call; should use
EntityTypeManagerInterface
9. Node::load($nid) — static entity call; should use
EntityTypeManagerInterface
10. use Drupal\Core\Database\Database — can be removed once Connection is
injected directly
11. Class name FixAnonymousNodes should be FixAnonymousNodesForm (Drupal
convention for form classes)

Missing files
12. fix_anonymous_nodes.module — required even if minimal (needed for
declare(strict_types=1) + @file)
13. composer.json — missing
14. .gitignore — missing
15. .cspell.json — missing
16. .gitlab-ci.yml — missing
17. config/schema/fix_anonymous_nodes.schema.yml — missing (no config, so
minimal/empty schema or skip)

Created by: zeeshan_khan
Created on: 19 Mar 2026 at 14:15 UTC
Last updated: 19 Mar 2026 at 14:16 UTC
Bug fixes

Other releases