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
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[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]

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