Search for class

  1. Search 7.x for class
  2. Search 9.5.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
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/Drupal/Tests/AssertHelperTraitTest.php
AssertHelperTestClass::testMethod function core/tests/Drupal/Tests/AssertHelperTraitTest.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.
BaseFieldDefinition::getFieldItemClass function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Helper to retrieve the field item class.
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.
BrowserTestBase::$minkDefaultDriverClass property core/tests/Drupal/Tests/BrowserTestBase.php
BuildTestBase::setUpBeforeClass function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php
CallableClass class core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php

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