Search for classes

  1. Search 7.x for classes
  2. Search 9.5.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
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.
MediaLibraryUpdateCheckboxClassesTest class core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateCheckboxClassesTest.php Tests the media library module updates views checkbox classes.
MediaLibraryUpdateCheckboxClassesTest.php file core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateCheckboxClassesTest.php
MediaLibraryUpdateCheckboxClassesTest::setDatabaseDumpFiles function core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateCheckboxClassesTest.php Set database dump files to be used.
MediaLibraryUpdateCheckboxClassesTest::testAddNonPrefixedClasses function core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateCheckboxClassesTest.php Tests that non js prefixes are added to checkboxes in the media view.
media_library_post_update_update_8001_checkbox_classes function core/modules/media_library/media_library.post_update.php Add non js prefixed classes to checkboxes if not present.
Page header for Classes page group core/core.api.php Introduction to classes
PhpUnitAutoloaderTest::testPhpUnitTestClassesLoading function core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php Test loading of classes provided by test sub modules.
RegisterSerializationClassesCompilerPass class core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php Adds services tagged 'normalizer' and 'encoder' to the Serializer.
RegisterSerializationClassesCompilerPass class core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php Adds services tagged JSON:API-only normalizers to the Serializer.
RegisterSerializationClassesCompilerPass.php file core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php
RegisterSerializationClassesCompilerPass.php file core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php
RegisterSerializationClassesCompilerPass::FORMAT constant core/modules/jsonapi/src/DependencyInjection/Compiler/RegisterSerializationClassesCompilerPass.php The ID for the JSON:API format.
RegisterSerializationClassesCompilerPass::normalizerBcSettingIsEnabled function core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php Returns whether a normalizer BC setting is disabled or not.
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]]
StyleHtmlListTest::testDefaultRowClasses function core/modules/views/tests/src/Kernel/Plugin/StyleHtmlListTest.php Make sure that the HTML list style markup is correct.
StyleTest::testCustomRowClasses function core/modules/views/tests/src/Kernel/Plugin/StyleTest.php Tests custom CSS row classes.
StyleUnformattedTest::testDefaultRowClasses function core/modules/views/tests/src/Kernel/Plugin/StyleUnformattedTest.php Make sure that the default css classes works as expected.
TestBase::$skipClasses property core/modules/simpletest/src/TestBase.php This class is skipped when looking for the source of an assertion.
TestDiscovery::$testClasses property core/lib/Drupal/Core/Test/TestDiscovery.php Statically cached list of test classes.
TestDiscovery::getTestClasses function core/modules/simpletest/src/TestDiscovery.php Discovers all available tests in all extensions.
TestDiscovery::getTestClasses function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all available tests in all extensions.
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClasses function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses[[api-linebreak]]
ToolbarMenuTranslationTest::testToolbarClasses function core/modules/toolbar/tests/src/Functional/ToolbarMenuTranslationTest.php Tests that toolbar classes don't change when adding a translation.
TwigEnvironment::$templateClasses property core/lib/Drupal/Core/Template/TwigEnvironment.php Static cache of template classes.
TwigSandboxPolicy::$whitelisted_classes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of class names for which any method calls are allowed.
Utility classes and functions group core/core.api.php Overview of utility classes and functions for developers.
views.view.test_field_classes.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_classes.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_classes.yml

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