Problem/Motivation

In the docblock of Drupal\Core\Entity\Exception\NoCorrespondingEntityClassException, the \Drupal\Core\Entity\Entity::getEntityTypeFromStaticClass() method is referenced, but that method does not exist.

Proposed resolution

Replace it with Drupal\Core\Entity\EntityTypeRepositoryInterface::getEntityTypeFromClass

Remaining tasks

Do it.

Issue fork drupal-3303329

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DieterHolvoet created an issue. See original summary.

DieterHolvoet’s picture

Status: Active » Needs review
joachim’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

  • longwave committed bd4448d on 10.1.x
    Issue #3303329 by DieterHolvoet: Referenced method in...

  • longwave committed bfd5110 on 10.0.x
    Issue #3303329 by DieterHolvoet: Referenced method in...

  • longwave committed e4a617e on 9.5.x
    Issue #3303329 by DieterHolvoet: Referenced method in...

  • longwave committed c262928 on 9.4.x
    Issue #3303329 by DieterHolvoet: Referenced method in...
longwave’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed bd4448dbdb to 10.1.x and bfd51109bc to 10.0.x and e4a617e36c to 9.5.x and c2629283ec to 9.4.x. Thanks!

Status: Fixed » Closed (fixed)

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