Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
Primary tabs
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 |
---|---|---|---|---|---|---|---|---|
TestSuiteStartedSubscriber | final class | PHPUnit\Runner\ResultCache | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestSuiteStartedSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestSuiteStartedSubscriber | final class | PHPUnit\Logging\TeamCity | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestSuiteWithName | final class | PHPUnit\Event\TestSuite | vendor/ |
@psalm-immutable | ||||
TestTriggeredDeprecationSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredDeprecationSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredDeprecationSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredDeprecationSubscriber | final class | PHPUnit\Runner\Baseline | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredErrorSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredErrorSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredNoticeSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredNoticeSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredNoticeSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredNoticeSubscriber | final class | PHPUnit\Runner\Baseline | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpDeprecationSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpDeprecationSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpDeprecationSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpDeprecationSubscriber | final class | PHPUnit\Runner\Baseline | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpNoticeSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpNoticeSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpNoticeSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpNoticeSubscriber | final class | PHPUnit\Runner\Baseline | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitDeprecationSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitDeprecationSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitDeprecationSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitErrorSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitErrorSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitWarningSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitWarningSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpunitWarningSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpWarningSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpWarningSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpWarningSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredPhpWarningSubscriber | final class | PHPUnit\Runner\Baseline | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredWarningSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredWarningSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredWarningSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestTriggeredWarningSubscriber | final class | PHPUnit\Runner\Baseline | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestWaitTerminateMiddleware | class | Drupal\Core\Test\StackMiddleware | core/ |
Acquire a lock to signal request termination to the test runner. | ||||
TestWith | final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 1 | |||
TestWith | final class | PHPUnit\Metadata | vendor/ |
@psalm-immutable | 1 | |||
TestWithJson | final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 1 | |||
Text | final class | PHPUnit\TextUI\XmlConfiguration\CodeCoverage\Report | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
Text | final class | PHPUnit\TextUI\XmlConfiguration\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
Text | class | PHP_CodeSniffer\Generators | vendor/ |
|||||
Text | final class | SebastianBergmann\CodeCoverage\Report | vendor/ |
1 | ||||
Text | class | Drupal\views\Plugin\views\area | core/ |
Views area text handler. | ||||
Textarea | class | Drupal\Core\Render\Element | core/ |
Provides a form element for input of multiple-line text. | ||||
Textarea | class | Drupal\config_translation\FormElement | core/ |
Defines the textarea element for the configuration translation interface. | ||||
TextareaFormField | class | Symfony\Component\DomCrawler\Field | vendor/ |
TextareaFormField represents a textarea form field (an HTML textarea tag). |