EntityType::isSubclassOf() has been deprecated in Drupal 8.3.x and it will be removed in Drupal 10.x. The method still exists, but it triggers a deprecated error and it calls EntityType::entityClassImplements().

Any call to EntityType::isSubclassOf() needs to be replaced by a call to EntityType::entityClassImplements().

This change could be applied also to the 8.x-1.x branch, but since that branch can be installed with Drupal versions earlier than 8.3.x, I would limit this change only to the 9.1.x branch.

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

  • apaderno committed 33baa52 on 9.1.x
    Issue #3293464 by apaderno: Replace any call to EntityType::isSubclassOf...
avpaderno’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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