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
TestClass::getSubscribedEvents function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Registers methods as kernel listeners.
TestClass::onKernelRequestTest function core/modules/system/tests/modules/service_provider_test/src/TestClass.php A simple kernel listener method.
TestClass::onKernelResponseTest function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Flags the response in case a rebuild indicator is used.
TestClass::submitConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form submission handler.
TestClass::validateConfigurationForm function core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php Form validation handler.
TestClass::__construct function core/modules/system/tests/modules/service_provider_test/src/TestClass.php Constructor.
TestCompatibilityTrait::getTestClassCovers function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit9/TestCompatibilityTrait.php Gets @covers defined on the test class.
TestCompatibilityTrait::getTestClassCovers function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit10/TestCompatibilityTrait.php Gets @covers defined on the test class.
TestDiscovery::$classLoader property core/lib/Drupal/Core/Test/TestDiscovery.php The class loader.
TestDiscovery::$testClasses property core/lib/Drupal/Core/Test/TestDiscovery.php Statically cached list of test classes.
TestDiscovery::findAllClassFiles function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all class files in all available extensions.
TestDiscovery::getTestClasses function core/lib/Drupal/Core/Test/TestDiscovery.php Discovers all available tests in all extensions.
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::testInstallWithFileWithNoClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php @coversNothing
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/KernelTests/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.

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