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
TaxonomyTermHierarchyConstraintValidator class Drupal\taxonomy\Plugin\Validation\Constraint core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraintValidator.php Constraint validator for changing term parents in pending revisions.
TaxonomyTermModerationHandler class Drupal\content_moderation\Entity\Handler core/modules/content_moderation/src/Entity/Handler/TaxonomyTermModerationHandler.php Customizations for taxonomy term entities. 1
TaxonomyTermReference class Drupal\taxonomy\Plugin\migrate\field core/modules/taxonomy/src/Plugin/migrate/field/TaxonomyTermReference.php MigrateField Plugin for Drupal 6 & Drupal 7 taxonomy term reference fields.
TaxonomyTokensHooks class Drupal\taxonomy\Hook core/modules/taxonomy/src/Hook/TaxonomyTokensHooks.php Hook implementations for taxonomy.
TaxonomyViewsHooks class Drupal\taxonomy\Hook core/modules/taxonomy/src/Hook/TaxonomyViewsHooks.php Hook implementations for taxonomy.
TCheckPlainSniff class DrupalPractice\Sniffs\FunctionCalls vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/TCheckPlainSniff.php Check that "@" and "%" placeholders in t()/watchdog() are not escaped twice with check_plain().
TeamCity final class PHPUnit\TextUI\XmlConfiguration\Logging vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Logging/TeamCity.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
TeamCityLogger final class PHPUnit\Logging\TeamCity vendor/phpunit/phpunit/src/Logging/TeamCity/TeamCityLogger.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
Tel class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Tel.php Provides a form element for entering a telephone number.
TelephoneDefaultWidget class Drupal\telephone\Plugin\Field\FieldWidget core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php Plugin implementation of the 'telephone_default' widget.
TelephoneField class Drupal\telephone\Plugin\migrate\field\d7 core/modules/telephone/src/Plugin/migrate/field/d7/TelephoneField.php
TelephoneHooks class Drupal\telephone\Hook core/modules/telephone/src/Hook/TelephoneHooks.php Hook implementations for telephone.
TelephoneItem class Drupal\telephone\Plugin\Field\FieldType core/modules/telephone/src/Plugin/Field/FieldType/TelephoneItem.php Plugin implementation of the 'telephone' field type. 1
TelephoneLinkFormatter class Drupal\telephone\Plugin\Field\FieldFormatter core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php Plugin implementation of the 'telephone_link' formatter.
Template abstract class Twig vendor/twig/twig/src/Template.php Default base class for compiled templates. 6
Template final class SebastianBergmann\Template vendor/phpunit/php-text-template/src/Template.php 9
Template final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Template.php Reflection class for a {template tag in a Docblock. 1
TemplateCovariant final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TemplateCovariant.php Reflection class for a {template-covariant tag in a Docblock. 1
TemplateDirIterator class Twig\Util vendor/twig/twig/src/Util/TemplateDirIterator.php @author Fabien Potencier <fabien@symfony.com>
TemplateElement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/TemplateElement.php A node that represents a template element. For example `foo` and `bar` in: `foo${exp}bar`
TemplateExtends final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TemplateExtends.php Reflection class for a {template-extends tag in a Docblock. 1
TemplateExtendsFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/TemplateExtendsFactory.php @internal This class is not part of the BC promise of this library. 1
TemplateFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/TemplateFactory.php @internal This class is not part of the BC promise of this library. 1
TemplateImplements final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TemplateImplements.php Reflection class for a {template-implements tag in a Docblock. 1
TemplateImplementsFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/TemplateImplementsFactory.php @internal This class is not part of the BC promise of this library. 1
TemplateLiteral class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/TemplateLiteral.php A node that represents a template literal. For example: `this is a ${test()} template`
TemplateLoader trait PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/TemplateLoader.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
TemplateTagValueNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/TemplateTagValueNode.php 5
TemplateVariable class Twig\Node\Expression\Variable vendor/twig/twig/src/Node/Expression/Variable/TemplateVariable.php 5
TemplateWrapper final class Twig vendor/twig/twig/src/TemplateWrapper.php Exposes a template to userland. 4
TempNameExpression class Twig\Node\Expression vendor/twig/twig/src/Node/Expression/TempNameExpression.php 2 3
Temporality final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/Temporality.php Metric aggregation temporality. 11
TemporaryArrayObjectThrowingExceptions class Drupal\jsonapi\Normalizer\Value core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php An \ArrayObject that throws an exception when used as an ArrayObject. 1
TemporaryQueryGuard class Drupal\jsonapi\Access core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Adds sufficient access control to collection queries. 1
TemporaryStream class Drupal\Core\StreamWrapper core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php Defines a Drupal temporary (temporary://) stream wrapper class.
TempStoreException class Drupal\Core\TempStore core/lib/Drupal/Core/TempStore/TempStoreException.php Thrown by SharedTempStore and PrivateTempStore if they cannot acquire a lock.
TempStoreIdentifierInterface interface Drupal\layout_builder core/modules/layout_builder/src/TempStoreIdentifierInterface.php Provides an interface that allows an object to provide its own tempstore key. 1 1
TentativeTypes class Symfony\Component\ErrorHandler\Internal vendor/symfony/error-handler/Internal/TentativeTypes.php This class has been generated by extract-tentative-return-types.php. 1
Term class Drupal\taxonomy\Entity core/modules/taxonomy/src/Entity/Term.php Defines the taxonomy term entity. 5
Term class Drupal\taxonomy\Plugin\migrate\source\d6 core/modules/taxonomy/src/Plugin/migrate/source/d6/Term.php Drupal 6 taxonomy term source from database. 1
Term class Drupal\taxonomy\Plugin\migrate\source\d7 core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php Drupal 7 taxonomy term source from database. 2
TermAccessControlHandler class Drupal\taxonomy core/modules/taxonomy/src/TermAccessControlHandler.php Defines the access control handler for the taxonomy term entity type. 1
TermBreadcrumbBuilder class Drupal\taxonomy core/modules/taxonomy/src/TermBreadcrumbBuilder.php Provides a custom taxonomy breadcrumb builder that uses the term hierarchy. 2
TermDeleteForm class Drupal\taxonomy\Form core/modules/taxonomy/src/Form/TermDeleteForm.php Provides a deletion confirmation form for taxonomy term. 1
TermEntityTranslation class Drupal\taxonomy\Plugin\migrate\source\d7 core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php Drupal 7 taxonomy term entity translation source plugin.
TermForm class Drupal\taxonomy core/modules/taxonomy/src/TermForm.php Base for handler for taxonomy term edit forms. 1
TerminableInterface interface Symfony\Component\HttpKernel vendor/symfony/http-kernel/TerminableInterface.php Terminable extends the Kernel request/response cycle with dispatching a post response event after sending the response and before shutting down the kernel. 5 4
Terminal class Symfony\Component\Console vendor/symfony/console/Terminal.php 5
TerminateEvent final class Symfony\Component\HttpKernel\Event vendor/symfony/http-kernel/Event/TerminateEvent.php Allows to execute logic after a response was sent. 7
TermInterface interface Drupal\taxonomy core/modules/taxonomy/src/TermInterface.php Provides an interface defining a taxonomy term entity. 1 3

Pagination

  • First page
  • Previous page
  • …
  • Page 181
  • Page 182
  • Page 183
  • Page 184
  • Page 185
  • Page 186
  • Page 187
  • Page 188
  • Page 189
  • …
  • 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