Search for fromClass

  1. Search 7.x for fromClass
  2. Search 8.9.x for fromClass
  3. Search 10.3.x for fromClass
  4. Search 11.x for fromClass
  5. Other projects
Title Object type File name Summary
BundleEntityStorageInterface::getBundleFromClass function core/lib/Drupal/Core/Entity/BundleEntityStorageInterface.php Retrieves the bundle name for a provided class name.
ContentEntityStorageBase::getBundleFromClass function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Retrieves the bundle name for a provided class name.
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
FunctionalTestSetupTrait::installDefaultThemeFromClassProperty function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Installs the default theme defined by `static::$defaultTheme` when needed.
FunctionalTestSetupTrait::installModulesFromClassProperty function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Install modules defined by `static::$modules`.
WebDriverTestBase::installModulesFromClassProperty function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Install modules defined by `static::$modules`.

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