Search for classes

  1. Search 7.x for classes
  2. Search 8.9.x for classes
  3. Search 10.3.x for classes
  4. Search 11.x for classes
  5. Search main for classes
  6. Other projects
Title Object type File name Summary
AttributeTest::testAddClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding class attributes with the AttributeArray helper method.
@covers ::addClass[[api-linebreak]]
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
@covers ::removeClass[[api-linebreak]]
@covers ::addClass[[api-linebreak]]
AttributeTest::testRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the AttributeArray helper method.
@covers ::removeClass[[api-linebreak]]
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
@dataProvider providerTestAttributeClassHelpers
ClaroViewsUiTest::testViewsUiDropButtonCssClasses function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroViewsUiTest.php Tests Views UI dropbutton CSS classes.
ClaroViewsUiTest::testViewsUiTabsCssClasses function core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroViewsUiTest.php Tests Views UI display menu tabs CSS classes.
CommentCSSTest::testCommentClasses function core/modules/comment/tests/src/Functional/CommentCSSTest.php Tests CSS classes on comments.
Connection::$driverClasses property core/lib/Drupal/Core/Database/Connection.php Index of what driver-specific class to use for various operations.
DestinationCategoryTest::getConfigurationClasses function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php Get configuration classes.
DestinationCategoryTest::getContentClasses function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php Get content classes.
DocParserIgnoredClassesTest class core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php @coversDefaultClass \Drupal\Component\Annotation\Doctrine\DocParser[[api-linebreak]]
DocParserIgnoredClassesTest.php file core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php
DocParserIgnoredClassesTest::testIgnoredAnnotationSkippedBeforeReflection function core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php Ensure annotations can be ignored when namespaces are present.
DrupalComponentTest::findPhpClasses function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Searches a directory recursively for PHP classes.
DrupalKernel::$serviceProviderClasses property core/lib/Drupal/Core/DrupalKernel.php List of discovered service provider class names or objects.
ElementTest::testButtonClasses function core/modules/system/tests/src/Functional/Form/ElementTest.php Tests button classes.
EntityType::getHandlerClasses function core/lib/Drupal/Core/Entity/EntityType.php Gets an array of handlers.
EntityType::getRouteProviderClasses function core/lib/Drupal/Core/Entity/EntityType.php Gets all the route provide handlers.
EntityType::hasFormClasses function core/lib/Drupal/Core/Entity/EntityType.php Indicates if this entity type has any forms.
EntityTypeInterface::getHandlerClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets an array of handlers.
EntityTypeInterface::getRouteProviderClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets all the route provide handlers.
EntityTypeInterface::hasFormClasses function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Indicates if this entity type has any forms.
EntityTypeTest::testHasFormClasses function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the hasFormClasses() method.
FieldFieldTest::testFieldApiClassesRender function core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php Tests the result of a view field with field_api_classes enabled.
FieldHandlerInterface::elementClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field.
FieldHandlerInterface::elementLabelClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field's label.
FieldHandlerInterface::elementWrapperClasses function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Returns the class of the field's wrapper.
FieldPluginBase::elementClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field.
FieldPluginBase::elementLabelClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field's label.
FieldPluginBase::elementWrapperClasses function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Returns the class of the field's wrapper.
FieldPluginBaseTest::testElementClassesWithTokens function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php Ensures proper token replacement when generating CSS classes.
FieldWebTest::testFieldClasses function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Tests the field/label/wrapper classes.
Html::$classes property core/lib/Drupal/Component/Utility/Html.php An array of previously cleaned HTML classes.
Page header for Classes page group core/core.api.php Introduction to classes
PhpUnitAutoloaderTest::testPhpUnitTestClassesLoading function core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php Tests loading of classes provided by test sub modules.
RegisterSerializationClassesCompilerPass class core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php Adds services tagged JSON:API-only normalizers to the Serializer.
RegisterSerializationClassesCompilerPass class core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php Adds services tagged 'normalizer' and 'encoder' to the Serializer.
RegisterSerializationClassesCompilerPass.php file core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php
RegisterSerializationClassesCompilerPass.php file core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php
RegisterSerializationClassesCompilerPass::FORMAT constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The ID for the JSON:API format.
RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ENCODER_TAG constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The service tag that only JSON:API encoders should use.
RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_ID constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The service ID.
RegisterSerializationClassesCompilerPass::OVERRIDDEN_SERVICE_NORMALIZER_TAG constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The service tag that only JSON:API normalizers should use.
RegisterSerializationClassesCompilerPass::process function core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php Adds services to the JSON:API Serializer.
RegisterSerializationClassesCompilerPass::process function core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php Adds services to the Serializer.
RegisterSerializationClassesCompilerPass::sort function core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php Sorts by priority.
RegisterSerializationClassesCompilerPassTest class core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php @coversDefaultClass \Drupal\serialization\RegisterSerializationClassesCompilerPass[[api-linebreak]]
@group serialization
RegisterSerializationClassesCompilerPassTest.php file core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php
RegisterSerializationClassesCompilerPassTest::testEncoders function core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php @covers ::process[[api-linebreak]]
Style::getTagAndClasses function core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php Gets the tag and classes for a parsed style element.

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