Problem/Motivation

In reviewing the code I saw an antipattern from https://mglaman.dev/blog/dependency-injection-anti-patterns-drupal
Specifically using nodeStorage.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nicxvan created an issue. See original summary.

nicxvan’s picture

I'm getting this error when I make this change:

PHP Fatal error:  Multiple access type modifiers are not allowed in /var/www/html/repos/page_deletion_guard/src/Form/PageDeletionGuardForm.php on line 22

joespinelli7 made their first commit to this issue’s fork.

joespinelli7’s picture

Version: 1.0.0-alpha2 » 1.0.0-alpha3
Status: Active » Fixed
joespinelli7’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

nicxvan’s picture