Fix \Drupal\helper\Hook\NodeHooks::alterNodeForm() assertion not compatible with Drupal 10

Fix \Drupal\helper\Hook\NodeHooks::alterNodeForm() assertion not compatible with Drupal 11.1 and below.

Closes #3584162

Merge request reports

Loading