Search for fromClass

  1. Search 7.x for fromClass
  2. Search 9.5.x for fromClass
  3. Search 8.9.x for fromClass
  4. Search 10.3.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.
ElementInfoManager::fromClass function core/lib/Drupal/Core/Render/ElementInfoManager.php Creates a render object based on the provided class and configuration.
ElementInfoManager::getIdFromClass function core/lib/Drupal/Core/Render/ElementInfoManager.php Get the plugin ID from the class.
ElementInfoManagerInterface::fromClass function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Creates a render object based on the provided class and configuration.
ElementInfoManagerInterface::getIdFromClass function core/lib/Drupal/Core/Render/ElementInfoManagerInterface.php Get the plugin ID from the class.
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[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass[[api-linebreak]]
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguousBundleClass 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]]
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`.
PerformanceTestBase::installModulesFromClassProperty function core/tests/Drupal/FunctionalJavascriptTests/PerformanceTestBase.php Install modules defined by `static::$modules`.
PerformanceTestTrait::doInstallModulesFromClassProperty function core/tests/Drupal/Tests/PerformanceTestTrait.php Helper for ::installModulesFromClassProperty().
StandardRecipeInstallTest::installDefaultThemeFromClassProperty function core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php Installs the default theme defined by `static::$defaultTheme` when needed.
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.