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. Search 11.x for class
  6. Other projects
Title Object type File name Summary
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.
EntityTypeManagerTest::testGetFormObjectInvalidClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the getFormObject() method with an invalid class.
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 Tests get entity type from class.
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Tests get entity type from class ambiguous.
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguousBundleClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Tests get entity type from class ambiguous bundle class.
EntityTypeRepositoryTest::testGetEntityTypeFromClassDecoratedClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Tests the ::getEntityTypeFromClass() method.
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch function core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php Tests get entity type from class no match.
EntityTypeTest::testEntityClassImplements function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests entity class implements.
EntityTypeTest::testGetAccessControlClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the getAccessControlClass() method.
EntityTypeTest::testGetDecoratedClassesSet function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests get decorated classes through set.
EntityTypeTest::testGetDecoratedClassesSetClass function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests get decorated classes through setClass.
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::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_attribute_bundle_class.info.yml file core/modules/system/tests/modules/entity_test_attribute_bundle_class/entity_test_attribute_bundle_class.info.yml core/modules/system/tests/modules/entity_test_attribute_bundle_class/entity_test_attribute_bundle_class.info.yml
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
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.
ExtensionList::subClassExtension function core/lib/Drupal/Core/Extension/ExtensionList.php Allows subclasses to convert the extension into a specific subclass.
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 associative format to classed object.
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.
FieldConfigBase::getClass function core/lib/Drupal/Core/Field/FieldConfigBase.php Returns the class used for creating the typed data object.
FieldDiscoveryTestClass class core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php A test class to expose protected methods.
FieldDiscoveryTestClass.php file core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php
FieldDiscoveryTestClass::$testData property core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php An array of test data.
FieldDiscoveryTestClass::getAllFields function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Gets all field information related to this migration.
FieldDiscoveryTestClass::getBundleFields function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Gets all field information for a particular entity type and bundle.
FieldDiscoveryTestClass::getCoreVersion function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Finds the core version of a Drupal migration.
FieldDiscoveryTestClass::getEntityFields function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Gets all field information for a particular entity type.
FieldDiscoveryTestClass::getFieldInstanceStubMigrationDefinition function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Provides the stub migration definition for a given Drupal core version.
FieldDiscoveryTestClass::getFieldPlugin function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Returns the appropriate field plugin for a given field type.
FieldDiscoveryTestClass::getSourcePlugin function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Gets the source plugin to use to gather field information.
FieldDiscoveryTestClass::__construct function core/modules/migrate_drupal/tests/modules/field_discovery_test/src/FieldDiscoveryTestClass.php Constructs a FieldDiscoveryTestClass object.
FieldFieldTest::testFieldApiClassesRender function core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php Tests the result of a view field with field_api_classes enabled.

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