Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
TestResultCollectionIterator final class PHPUnit\Logging\TestDox vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/TestResultCollectionIterator.php @template-implements Iterator<int, TestResult>
TestResultCollector final class PHPUnit\Logging\TestDox vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/TestResultCollector.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TestRun class Drupal\Core\Test core/lib/Drupal/Core/Test/TestRun.php Implements an object that tracks execution of a test run.
TestRunner final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/TestRunner.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunner final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/TestRunner.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunnerExecutionFinishedSubscriber final class PHPUnit\Logging\JUnit vendor/phpunit/phpunit/src/Logging/JUnit/Subscriber/TestRunnerExecutionFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunnerExecutionFinishedSubscriber final class PHPUnit\Logging\TeamCity vendor/phpunit/phpunit/src/Logging/TeamCity/Subscriber/TestRunnerExecutionFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunnerExecutionStartedSubscriber final class PHPUnit\TextUI\Output\Default\ProgressPrinter vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestRunnerExecutionStartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunnerKernel class Drupal\Core\Test core/lib/Drupal/Core/Test/TestRunnerKernel.php Defines a kernel used for running Functional tests and run-tests.sh.
TestRunnerTriggeredDeprecationSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestRunnerTriggeredDeprecationSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunnerTriggeredWarningSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestRunnerTriggeredWarningSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestRunResultsStorageInterface interface Drupal\Core\Test core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Interface describing a test run results storage object. 1
Tests final class SebastianBergmann\CodeCoverage\Report\Xml vendor/phpunit/php-code-coverage/src/Report/Xml/Tests.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
TestSetupTrait trait Drupal\Core\Test core/lib/Drupal/Core/Test/TestSetupTrait.php Provides a trait for shared test setup functionality.
TestSiteExcluder final class Drupal\package_manager\PathExcluder core/modules/package_manager/src/PathExcluder/TestSiteExcluder.php Excludes 'sites/simpletest' from stage operations.
TestSize abstract class SebastianBergmann\CodeCoverage\Test\TestSize vendor/phpunit/php-code-coverage/src/TestSize/TestSize.php @psalm-immutable 2 3
TestSize abstract class PHPUnit\Framework\TestSize vendor/phpunit/phpunit/src/Framework/TestSize/TestSize.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2 4
TestSkippedSubscriber final class PHPUnit\Logging\TestDox vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/Subscriber/TestSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSkippedSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSkippedSubscriber final class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/Subscriber/TestSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSkippedSubscriber final class PHPUnit\Logging\JUnit vendor/phpunit/phpunit/src/Logging/JUnit/Subscriber/TestSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSkippedSubscriber final class PHPUnit\TextUI\Output\Default\ProgressPrinter vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSkippedSubscriber final class PHPUnit\Logging\TeamCity vendor/phpunit/phpunit/src/Logging/TeamCity/Subscriber/TestSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestStatus abstract class PHPUnit\Framework\TestStatus vendor/phpunit/phpunit/src/Framework/TestStatus/TestStatus.php @psalm-immutable 2 9
TestStatus abstract class SebastianBergmann\CodeCoverage\Test\TestStatus vendor/phpunit/php-code-coverage/src/TestStatus/TestStatus.php @psalm-immutable 2 3
TestStatus class Drupal\Core\Test core/lib/Drupal/Core/Test/TestStatus.php Consolidates test result status information.
TestStubCreated final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/TestDouble/TestStubCreated.php @psalm-immutable
TestStubCreatedSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/TestDouble/TestStubCreatedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestStubForIntersectionOfInterfacesCreated final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/TestDouble/TestStubForIntersectionOfInterfacesCreated.php @psalm-immutable
TestStubForIntersectionOfInterfacesCreatedSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/TestDouble/TestStubForIntersectionOfInterfacesCreatedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuite final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/TestSuite.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TestSuite abstract class PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Value/TestSuite/TestSuite.php @psalm-immutable 3 3
TestSuite class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/TestSuite.php @template-implements IteratorAggregate<int, Test> 1 15
TestSuiteBuilder final class PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Value/TestSuite/TestSuiteBuilder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteBuilder final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/TestSuiteBuilder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TestSuiteCollection final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/TestSuiteCollection.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 6
TestSuiteCollectionIterator final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/TestSuiteCollectionIterator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteFilterProcessor final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/TestSuiteFilterProcessor.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteFinishedSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestSuiteFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteFinishedSubscriber final class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/Subscriber/TestSuiteFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteFinishedSubscriber final class PHPUnit\Logging\JUnit vendor/phpunit/phpunit/src/Logging/JUnit/Subscriber/TestSuiteFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteFinishedSubscriber final class PHPUnit\Logging\TeamCity vendor/phpunit/phpunit/src/Logging/TeamCity/Subscriber/TestSuiteFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteForTestClass final class PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Value/TestSuite/TestSuiteForTestClass.php @psalm-immutable 2
TestSuiteForTestMethodWithDataProvider final class PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Value/TestSuite/TestSuiteForTestMethodWithDataProvider.php @psalm-immutable 2
TestSuiteIterator final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/TestSuiteIterator.php @template-implements RecursiveIterator<int, Test>
TestSuiteLoader final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/TestSuiteLoader.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
TestSuiteMapper final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/TestSuiteMapper.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TestSuiteSkippedSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestSuiteSkippedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestSuiteSorter final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/TestSuiteSorter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 6
TestSuiteStartedSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestSuiteStartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Pagination

  • First page
  • Previous page
  • …
  • Page 184
  • Page 185
  • Page 186
  • Page 187
  • Page 188
  • Page 189
  • Page 190
  • Page 191
  • Page 192
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal