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
TestDiscovery::parseTestClassSummary function core/lib/Drupal/Core/Test/TestDiscovery.php Parses the phpDoc summary line of a test class.
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::testGetTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses
TestDiscoveryTest::testGetTestClassesWithSelectedTypes function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestClasses
TestMultiWidthLayoutsTest::assertWidthClassApplied function core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Asserts the width class is applied to the first section.
TestRun::$testClass property core/lib/Drupal/Core/Test/TestRun.php The latest class under test.
TestRun::getLogEntriesByTestClass function core/lib/Drupal/Core/Test/TestRun.php Get test results for a test run, ordered by test class.
TestRun::getTestClass function core/lib/Drupal/Core/Test/TestRun.php Gets the latest class under test.
TestRunResultsStorageInterface::getLogEntriesByTestClass function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Get test results for a test run, ordered by test class.
TestRunTest::testGetLogEntriesByTestClass function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php @covers ::createNew
@covers ::insertLogEntry
@covers ::setDatabasePrefix
@covers ::getLogEntriesByTestClass
@covers ::getDatabasePrefix
@covers ::getTestClass
TestSiteApplicationTest::testInstallWithFileWithNoClass function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing
TestSiteInstallCommand::executePreinstallClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Uses the setup file to configure the environment prior to install.
TestSiteInstallCommand::executeSetupClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Uses the setup file to configure Drupal.
TestSiteInstallCommand::getSetupClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Gets the setup class.
TestSiteUserLoginCommand::$classLoader property core/tests/Drupal/TestSite/Commands/TestSiteUserLoginCommand.php The class loader to use for installation and initialization of setup.
TestStaticMethodClass class core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
TestStaticMethodClass::access function core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
test_theme_preprocess_theme_test_theme_class function core/modules/system/tests/themes/test_theme/test_theme.theme Tests that a class can be loaded within a .theme file.
theme-test-theme-class.html.twig file core/modules/system/tests/modules/theme_test/templates/theme-test-theme-class.html.twig <p>{{ message }}</p>
ThemeClass class core/modules/system/tests/themes/test_theme/src/ThemeClass.php Represents a random class, used to test if themes can provide classes.
ThemeClass.php file core/modules/system/tests/themes/test_theme/src/ThemeClass.php
ThemeNegotiator::$classResolver property core/lib/Drupal/Core/Theme/ThemeNegotiator.php The class resolver.
ThemeTest::testClassLoading function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Tests theme can provide classes.
ThemeTest::testRegionClass function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Tests that region attributes can be manipulated via preprocess functions.
ThemeTestController::testThemeClass function core/modules/system/tests/modules/theme_test/src/ThemeTestController.php Controller for testing a namespaced class in a theme.
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.
TwigEnvironment::getTemplateClass function core/lib/Drupal/Core/Template/TwigEnvironment.php Gets the template class associated with the given string.
TwigEnvironmentTest::testTemplateClassname function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Ensures that templates resolve to the same class name and cache file.
TwigExtension::addClass function core/lib/Drupal/Core/Template/TwigExtension.php Adds a value into the class attributes of a given element.
TwigExtensionTest::providerTestTwigAddClass function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Provides data for ::testTwigAddClass().
TwigExtensionTest::testTwigAddClass function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests Twig 'add_class' filter.
TwigSandboxPolicy::$allowed_classes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
TwigSandboxTest::testExtendedClass function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that white listed classes can be extended.
TypedDataManager::$classResolver property core/lib/Drupal/Core/TypedData/TypedDataManager.php The class resolver.
Unicode::PREG_CLASS_WORD_BOUNDARY constant core/lib/Drupal/Component/Utility/Unicode.php Matches Unicode characters that are word boundaries.
UnitTestCase::getClassResolverStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub class resolver.
UnitTestCase::setUpBeforeClass function core/tests/Drupal/Tests/UnitTestCase.php
UserMigrationClassTest class core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php Tests the user migration plugin class.
UserMigrationClassTest.php file core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php
UserMigrationClassTest::testClass function core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php Tests that the profile value process is added to the pipeline.
UserRegistrationResourceTest::$testClass property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Class to be tested.
UsingNonInstalledTraitClass class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/UsingNonInstalledTraitClass.php This class does not have a plugin attribute or plugin annotation on purpose.
UsingNonInstalledTraitClass.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/UsingNonInstalledTraitClass.php
UsingNonInstalledTraitClass::testMethod function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/UsingNonInstalledTraitClass.php
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
ViewsForm::$classResolver property core/modules/views/src/Form/ViewsForm.php The class resolver to get the subform form objects.
ViewsPreprocessTest::testCssClassCleaning function core/modules/views/tests/src/Kernel/ViewsPreprocessTest.php Tests css classes on displays are cleaned correctly.

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