Search for class

  1. Search 7.x for class
  2. Search 8.9.x for class
  3. Search 10.3.x for class
  4. Search 11.x for class
  5. Other projects
Title Object type File name Summary
AnnotatedClassDiscoveryTest::testAutoloadBadAnnotations function core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php Make sure AnnotatedClassDiscovery never tries to autoload bad annotations.
AnnotatedClassDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::getDefinitions
@covers ::prepareAnnotationDefinition
@covers ::getAnnotationReader
AnnotatedClassDiscoveryTest::testGetPluginNamespaces function core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @covers ::__construct
@covers ::getPluginNamespaces
AnnotationBase::$class property core/lib/Drupal/Component/Annotation/AnnotationBase.php The class used for this annotated class.
AnnotationBase::getClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php Gets the class of the annotated class.
AnnotationBase::setClass function core/lib/Drupal/Component/Annotation/AnnotationBase.php Sets the class of the annotated class.
AnnotationBaseTest::testSetClass function core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @covers ::getClass
@covers ::setClass
AnnotationInterface::getClass function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Gets the class of the annotated class.
AnnotationInterface::setClass function core/lib/Drupal/Component/Annotation/AnnotationInterface.php Sets the class of the annotated class.
AnnotationTargetClass class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php Plugin annotation
@Target("CLASS");
AnnotationTargetClass.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
AnnotationTargetClass::$data property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
AnnotationTargetClass::$name property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
AnnotationTargetClass::$target property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php
ApcuBackendFactory::$backendClass property core/lib/Drupal/Core/Cache/ApcuBackendFactory.php The APCU backend class to use.
AssertHelperTestClass class core/tests/fixtures/AssertHelperTestClass.php A helper class for deprecation of AssertHelperTrait.
AssertHelperTestClass.php file core/tests/fixtures/AssertHelperTestClass.php
AssertHelperTestClass::testMethod function core/tests/fixtures/AssertHelperTestClass.php
Attribute::addClass function core/lib/Drupal/Core/Template/Attribute.php Adds classes or merges them on to array of existing CSS classes.
Attribute::getClass function core/lib/Drupal/Core/Template/Attribute.php Gets the class attribute value if set.
Attribute::hasClass function core/lib/Drupal/Core/Template/Attribute.php Checks if the class array has the given CSS class.
Attribute::removeClass function core/lib/Drupal/Core/Template/Attribute.php Removes argument values from array of existing CSS classes.
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.
@covers ::addClass
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
@covers ::removeClass
@covers ::addClass
AttributeTest::testHasClass function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests checking for class names with the Attribute method.
@covers ::hasClass
AttributeTest::testRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the AttributeArray helper method.
@covers ::removeClass
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
@dataProvider providerTestAttributeClassHelpers
BarClass class core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Stub class which acts as a service to test the container.
BarClass.php file core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php
BarClass::$baz property core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Storage for a protected BazClass object.
BarClass::getBaz function core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Getter for our BazClass object.
BarClass::setBaz function core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php Setter for our BazClass object.
BaseFieldOverride::getClass function core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php Returns the class used for creating the typed data object.
BaseFieldOverrideTest::getClassTestCases function core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php Test cases for ::testGetClass.
BaseFieldOverrideTest::testGetClass function core/tests/Drupal/KernelTests/Core/Field/Entity/BaseFieldOverrideTest.php @covers ::getClass
BasicControllerClass class core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php A class containing all kind of different controller methods.
BasicControllerClass::exampleControllerMethod function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerMethodWithArgument function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityNoUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerWithEntityUpcasting function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BazClass class core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php Stub class which acts as a service dependency, to test the container.
BazClass.php file core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php
BlockRebuildTest::setUpBeforeClass function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BooleanItemNormalizer::$supportedInterfaceOrClass property core/modules/serialization/tests/modules/test_fieldtype_boolean_emoji_normalizer/src/Normalizer/BooleanItemNormalizer.php The interface or class that this Normalizer supports.
BooleanNormalizer::$supportedInterfaceOrClass property core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php The interface or class that this Normalizer supports.
broken_class_with_missing_dependency service core/modules/system/tests/modules/error_service_test/error_service_test.services.yml Drupal\error_service_test\LonelyMonkeyClass
BrowserHtmlDebugTrait::$htmlOutputClassName property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Class name for HTML output logging.

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