Search for getEntityTypeFromClass

  1. Search 7.x for getEntityTypeFromClass
  2. Search 9.5.x for getEntityTypeFromClass
  3. Search 10.3.x for getEntityTypeFromClass
  4. Search 11.x for getEntityTypeFromClass
  5. Other projects
Title Object type File name Summary
EntityManager::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testGetEntityTypeFromClass function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getEntityTypeFromClass() method.
EntityTypeRepository::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepository.php Gets the entity type ID based on the class that is called on.
EntityTypeRepositoryInterface::getEntityTypeFromClass function core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php Gets the entity type ID based on the class that is called on.
EntityTypeRepositoryTest::testGetEntityTypeFromClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass

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