Search for class

  1. Search 7.x for class
  2. Search 9.5.x for class
  3. Search 8.9.x for class
  4. Search 10.3.x for class
  5. Other projects
Title Object type File name Summary
EntityTypeInterface::getListBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the list class.
EntityTypeInterface::getOriginalClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the name of the original entity type class.
EntityTypeInterface::getRouteProviderClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets all the route provide handlers.
EntityTypeInterface::getStorageClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the storage class.
EntityTypeInterface::getViewBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the view builder class.
EntityTypeInterface::hasFormClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has any forms.
EntityTypeInterface::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Determines if there is a handler for a given type.
EntityTypeInterface::hasListBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has a list class.
EntityTypeInterface::hasViewBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has a view builder.
EntityTypeInterface::setAccessClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets the access control handler class.
EntityTypeInterface::setFormClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets a form class for a specific operation.
EntityTypeInterface::setHandlerClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets the handlers for a given type.
EntityTypeInterface::setListBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets the list class.
EntityTypeInterface::setStorageClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets the storage class.
EntityTypeInterface::setViewBuilderClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the view builder class.
EntityTypeManager::$classResolver property core/lib/Drupal/Core/Entity/EntityTypeManager.php The class resolver.
EntityTypeManagerTestEntityBundle::$bundleClassFieldDefinitions property core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php The bundle class field definitions.
EntityTypeRepository::$classNameEntityTypeMap property core/lib/Drupal/Core/Entity/EntityTypeRepository.php Contains cached mappings of class names to entity types.
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::testGetEntityTypeFromClassAmbiguousBundleClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @covers ::getEntityTypeFromClass
EntityTypeTest::testEntityClassImplements function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::entityClassImplements
EntityTypeTest::testGetAccessControlClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getAccessControlClass() method.
EntityTypeTest::testGetFormClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getFormClass() method.
EntityTypeTest::testGetListBuilderClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getListBuilderClass() method.
EntityTypeTest::testGetOriginalClassChanged function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setClass
@covers ::getOriginalClass
EntityTypeTest::testGetOriginalClassUnchanged function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getOriginalClass
EntityTypeTest::testGetStorageClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getStorageClass() method.
EntityTypeTest::testGetViewBuilderClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getViewBuilderClass() method.
EntityTypeTest::testHasFormClasses function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasFormClasses() method.
EntityTypeTest::testSetStorageClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the setStorageClass() method.
entity_test_bundle_class.info.yml file core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.info.yml core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.info.yml
entity_test_bundle_class.module file core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module
entity_test_bundle_class_entity_bundle_info_alter function core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module Implements hook_entity_bundle_info_alter().
entity_test_bundle_class_entity_type_alter function core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module Implements hook_entity_type_alter().
entity_test_bundle_class_entity_type_build function core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module Implements hook_entity_type_build().
ExecutionContext::getClassName function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExtendingNonInstalledClass class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/ExtendingNonInstalledClass.php Plugin annotation

@Plugin(
id = "extending_non_installed_class",
label = "A plugin whose class is extending from a non-installed module class",
color = "pink",
)
ExtendingNonInstalledClass class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/ExtendingNonInstalledClass.php This class does not have a plugin attribute or plugin annotation on purpose.
ExtendingNonInstalledClass.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/ExtendingNonInstalledClass.php
ExtendingNonInstalledClass.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/ExtendingNonInstalledClass.php
ExtendingNonInstalledClass::testMethod function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/ExtendingNonInstalledClass.php Provides an empty test method for testing.
FakeAutoloader::loadClass function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Loads the given class or interface.
FetchModeTrait::assocToClass function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in FETCH_ASSOC format to FETCH_CLASS.
FetchTest::testQueryFetchClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchObjectClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class using fetchObject.
FetchTest::testQueryFetchObjectClassNoConstructorArgs function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class without constructor args.

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