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
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::prepareAttributeDefinition function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Prepares the attribute definition.
AttributeClassDiscovery::__construct function core/lib/Drupal/Core/Plugin/Discovery/AttributeClassDiscovery.php Constructs an AttributeClassDiscovery object.
AttributeClassDiscovery::__construct function core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php Constructs a new instance.
AttributeClassDiscoveryCachedTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests Attribute Class Discovery Cached.
AttributeClassDiscoveryCachedTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryCachedTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests that getDefinitions() retrieves the file cache correctly.
AttributeClassDiscoveryCachedTest::testGetDefinitionsMissingTrait function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php Tests discovery with missing traits.
AttributeClassDiscoveryTest class core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php Tests Drupal\Component\Plugin\Discovery\AttributeClassDiscovery.
AttributeClassDiscoveryTest.php file core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::setUp function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
AttributeClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @legacy-covers ::getDefinitions
@legacy-covers ::prepareAttributeDefinition
AttributeClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @legacy-covers ::__construct
@legacy-covers ::getPluginNamespaces
AttributeDiscoveryWithAnnotations::parseClass function core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php Parses attributes from a class.
AttributeDiscoveryWithAnnotationsAutomatedProviders::parseClass function core/modules/migrate/src/Plugin/Discovery/AttributeDiscoveryWithAnnotationsAutomatedProviders.php Parses attributes from a class.
AttributeInterface::getClass function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Gets the class of the attribute class.
AttributeInterface::setClass function core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Sets the class of the attributed class.
AttributeTest::assertClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is present in the given HTML snippet.
AttributeTest::assertNoClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Checks that the given CSS class is not present in the given HTML snippet.
AttributeTest::providerTestAttributeClassHelpers function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Provides tests data for testEscaping.
AttributeTest::testAddClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding class attributes with the AttributeArray helper method.
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
AttributeTest::testHasClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests checking for class names with the Attribute method.
AttributeTest::testRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the AttributeArray helper method.
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
AutowireRequiredParameterTestClass class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Test class for autowiring a required parameter.
AutowireRequiredParameterTestClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
AutowireRequiredServiceTestClass class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Test class for autowiring a required service.
AutowireRequiredServiceTestClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
AutowireTestClass class core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php Test class covering service and parameter autowiring scenarios.
AutowireTestClass::$setterNamedService property core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php An injected service.
AutowireTestClass::$setterParameter property core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php An injected parameter.
AutowireTestClass::$setterTypedService property core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php An injected service.
AutowireTestClass::setNamedService function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php #[Required]
AutowireTestClass::setParameter function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php #[Required]
AutowireTestClass::setTypedService function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php #[Required]
AutowireTestClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
BackwardsCompatibilityClassLoader class core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php Adds backwards compatibility support for deprecated classes.
BackwardsCompatibilityClassLoader.php file core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php
BackwardsCompatibilityClassLoader::loadClass function core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php Aliases a moved class to another class, instead of actually autoloading it.
BackwardsCompatibilityClassLoader::__construct function core/lib/Drupal/Core/ClassLoader/BackwardsCompatibilityClassLoader.php
BackwardsCompatibilityClassLoaderPass class core/lib/Drupal/Core/DependencyInjection/Compiler/BackwardsCompatibilityClassLoaderPass.php Compiler pass to merge moved classes into a single container parameter.
BackwardsCompatibilityClassLoaderPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/BackwardsCompatibilityClassLoaderPass.php
BackwardsCompatibilityClassLoaderPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/BackwardsCompatibilityClassLoaderPass.php
BackwardsCompatibilityClassLoaderTest class core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests Drupal\Core\ClassLoader\BackwardsCompatibilityClassLoader.
BackwardsCompatibilityClassLoaderTest.php file core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php
BackwardsCompatibilityClassLoaderTest::$modules property core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Modules to install.
BackwardsCompatibilityClassLoaderTest::testDoctrineException function core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests that the BC layer for Doctrine's AnnotationException works.
BackwardsCompatibilityClassLoaderTest::testModuleMovedClass function core/tests/Drupal/KernelTests/Core/ClassLoader/BackwardsCompatibilityClassLoaderTest.php Tests that a moved class from a module works.

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