Problem/Motivation
PHP Deprecated: Drupal\content_moderation\Plugin\Action\ModerationStateChange::execute(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/core/modules/content_moderation/src/Plugin/Action/ModerationStateChange.php on line 208
PHP Deprecated: Drupal\content_moderation\Plugin\Action\ModerationStateChange::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/core/modules/content_moderation/src/Plugin/Action/ModerationStateChange.php on line 252Steps to reproduce
- Install and enable php 8.4
- Visit node page
Issue fork drupal-3595746
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
Comment #2
suryabhi commentedComment #3
suryabhi commentedComment #4
cilefen commentedcore/modules/content_moderation/src/Plugin/Action/ModerationStateChange.phpisn't in Drupal. Is it from a patch?Comment #5
cilefen commentedIt could be from #2797583: Dynamically provide action plugins for every moderation state change.