Search for isSubclassOf

  1. Search 7.x for isSubclassOf
  2. Search 9.5.x for isSubclassOf
  3. Search 10.3.x for isSubclassOf
  4. Search 11.x for isSubclassOf
  5. Other projects
Title Object type File name Summary
EntityType::isSubclassOf function core/lib/Drupal/Core/Entity/EntityType.php Indicates if the entity type is a subclass of the given class or interface.
EntityTypeInterface::isSubclassOf function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if the entity type is a subclass of the given class or interface.
EntityTypeTest::testIsSubClassOf function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::isSubclassOf
@group legacy
@expectedDeprecation Drupal\Core\Entity\EntityType::isSubclassOf() is deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use Drupal\Core\Entity\EntityTypeInterface::entityClassImplements() instead. Seeā€¦

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.