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
TermLocalizedTranslation class Drupal\taxonomy\Plugin\migrate\source\d6 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermLocalizedTranslation.php Drupal 6 i18n taxonomy terms source from database.
TermLocalizedTranslation class Drupal\taxonomy\Plugin\migrate\source\d7 core/modules/taxonomy/src/Plugin/migrate/source/d7/TermLocalizedTranslation.php Drupal 7 i18n taxonomy terms source from database.
TermName class Drupal\taxonomy\Plugin\views\argument_validator core/modules/taxonomy/src/Plugin/views/argument_validator/TermName.php Validates whether a term name is a valid term argument.
TermName class Drupal\taxonomy\Plugin\views\field core/modules/taxonomy/src/Plugin/views/field/TermName.php Displays taxonomy term names and allows converting spaces to hyphens.
TermNode class Drupal\taxonomy\Plugin\migrate\source\d6 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNode.php Drupal 6 term/node relationships (current revision) source from database. 1
TermNodeRevision class Drupal\taxonomy\Plugin\migrate\source\d6 core/modules/taxonomy/src/Plugin/migrate/source/d6/TermNodeRevision.php Drupal 6 term/node relationships (non-current revision) source from database.
TermRouteContext class Drupal\taxonomy\ContextProvider core/modules/taxonomy/src/ContextProvider/TermRouteContext.php Sets the current taxonomy term as a context on taxonomy term routes. 2
TermSelection class Drupal\taxonomy\Plugin\EntityReferenceSelection core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php Provides specific access control for the taxonomy_term entity type.
TermStorage class Drupal\taxonomy core/modules/taxonomy/src/TermStorage.php Defines a Controller class for taxonomy terms. 1
TermStorageInterface interface Drupal\taxonomy core/modules/taxonomy/src/TermStorageInterface.php Defines an interface for taxonomy_term entity storage classes. 1 3
TermStorageSchema class Drupal\taxonomy core/modules/taxonomy/src/TermStorageSchema.php Defines the term schema handler. 1
TermTranslation class Drupal\taxonomy\Plugin\migrate\source\d7 core/modules/taxonomy/src/Plugin/migrate/source/d7/TermTranslation.php Drupal 7 i18n taxonomy terms source from database.
TermTranslationHandler class Drupal\taxonomy core/modules/taxonomy/src/TermTranslationHandler.php Defines the translation handler for terms. 1
TermViewsData class Drupal\taxonomy core/modules/taxonomy/src/TermViewsData.php Provides the views data for the taxonomy entity type. 1
Ternary class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php 1
TernaryOperatorHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/TernaryOperatorHelper.php @internal 6
Test final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/Test.php @psalm-immutable
Test final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/Test.php @psalm-immutable 1
Test final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/Test.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
Test interface PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Test.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3 7
Test abstract class PHPUnit\Event\Code vendor/phpunit/phpunit/src/Event/Value/Test/Test.php @psalm-immutable 2 14
TestBuilder final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/TestBuilder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestCase abstract class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/TestCase.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 8 32
TestCase abstract class SlevomatCodingStandard\Sniffs vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TestCase.php @codeCoverageIgnore
TestClassesProtectedPropertyModulesRule class mglaman\PHPStanDrupal\Rules\Drupal vendor/mglaman/phpstan-drupal/src/Rules/Drupal/TestClassesProtectedPropertyModulesRule.php @implements Rule<ClassPropertyNode>
TestClock final class OpenTelemetry\API\Common\Time vendor/open-telemetry/api/Common/Time/TestClock.php @internal OpenTelemetry
TestCollection final class PHPUnit\Event\Code vendor/phpunit/phpunit/src/Event/Value/Test/TestCollection.php @template-implements IteratorAggregate<int, Test> 4
TestCollectionIterator final class PHPUnit\Event\Code vendor/phpunit/phpunit/src/Event/Value/Test/TestCollectionIterator.php @template-implements Iterator<int, Test>
TestConsideredRiskySubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestConsideredRiskySubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestConsideredRiskySubscriber final class PHPUnit\Logging\TestDox vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/Subscriber/TestConsideredRiskySubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestConsideredRiskySubscriber final class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/Subscriber/TestConsideredRiskySubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestConsideredRiskySubscriber final class PHPUnit\TextUI\Output\Default\ProgressPrinter vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestConsideredRiskySubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestConsideredRiskySubscriber final class PHPUnit\Logging\TeamCity vendor/phpunit/phpunit/src/Logging/TeamCity/Subscriber/TestConsideredRiskySubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestData abstract class PHPUnit\Event\TestData vendor/phpunit/phpunit/src/Event/Value/Test/TestData/TestData.php @psalm-immutable 2
TestDatabase class Drupal\Core\Test core/lib/Drupal/Core/Test/TestDatabase.php Provides helper methods for interacting with the fixture database. 2
TestDataCollection final class PHPUnit\Event\TestData vendor/phpunit/phpunit/src/Event/Value/Test/TestData/TestDataCollection.php @template-implements IteratorAggregate<int, TestData> 3
TestDataCollectionIterator final class PHPUnit\Event\TestData vendor/phpunit/phpunit/src/Event/Value/Test/TestData/TestDataCollectionIterator.php @template-implements Iterator<int, TestData>
TestDirectory final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/TestDirectory.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TestDirectoryCollection final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/TestDirectoryCollection.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TestDirectoryCollectionIterator final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/TestDirectoryCollectionIterator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestDirectoryNotFoundException final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/Exception/TestDirectoryNotFoundException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
TestDiscovery class Drupal\Core\Test core/lib/Drupal/Core/Test/TestDiscovery.php Discovers available tests.
TestDox final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/TestDox.php @psalm-immutable 1
TestDox final class PHPUnit\Event\Code vendor/phpunit/phpunit/src/Event/Value/Test/TestDox.php @psalm-immutable
TestDox final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/TestDox.php @psalm-immutable 1
TestDoxBuilder final class PHPUnit\Event\Code vendor/phpunit/phpunit/src/Event/Value/Test/TestDoxBuilder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestErroredSubscriber final class PHPUnit\Logging\TestDox vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/Subscriber/TestErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestErroredSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestErroredSubscriber final class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/Subscriber/TestErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TestErroredSubscriber final class PHPUnit\Logging\JUnit vendor/phpunit/phpunit/src/Logging/JUnit/Subscriber/TestErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Pagination

  • First page
  • Previous page
  • …
  • Page 182
  • Page 183
  • Page 184
  • Page 185
  • Page 186
  • Page 187
  • Page 188
  • Page 189
  • Page 190
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal