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
TestHookClass::someMethod function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Example method.
TestHttpMiddlewareClass class core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestHttpMiddlewareClass.php Stub of http_middleware class.
TestHttpMiddlewareClass.php file core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestHttpMiddlewareClass.php
TestHttpMiddlewareClass::handle function core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestHttpMiddlewareClass.php
TestHttpMiddlewareClass::__construct function core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/TestHttpMiddlewareClass.php
TestMultiWidthLayoutsTest::assertWidthClassApplied function core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Asserts the width class is applied to the first section.
TestPluginWithForm::getFormClass function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php Gets the form class for the given operation.
TestPluginWithForm::hasFormClass function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php Gets whether the plugin has a form class for the given operation.
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 Tests get log entries by test class.
TestSiteApplicationTest::testInstallWithFileWithNoClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install with file with no class.
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install with non setup class.
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 Provides a class for testing a static method.
TestStaticMethodClass::access function core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
test_table_css_class.php file core/modules/views/tests/fixtures/update/test_table_css_class.php Test fixture.
test_theme_preprocess_theme_test_theme_class function core/modules/system/tests/themes/test_theme/test_theme.theme Implements hook_preprocess_HOOK() for theme_test_theme_class.
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::testRegionClass function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Tests that region attributes can be manipulated via preprocess functions.
TokenParser::parseClass function core/lib/Drupal/Component/Annotation/Doctrine/TokenParser.php Gets the class name.
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 An array of class names for which any method calls are allowed.
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.
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 Provides an empty test method.
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.