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
TableMappingInterface interface Drupal\Core\Entity\Sql core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php Provides a common interface for mapping field columns to SQL tables. 1 3
TableRows class Symfony\Component\Console\Helper vendor/symfony/console/Helper/TableRows.php @internal
Tables class Drupal\Core\Entity\Query\Sql core/lib/Drupal/Core/Entity/Query/Sql/Tables.php Adds database tables and fields to the SQL entity query. 1 1
Tables class Drupal\workspaces\EntityQuery core/modules/workspaces/src/EntityQuery/Tables.php Alters entity queries to use a workspace revision instead of the default one.
Tableselect class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Tableselect.php Provides a form element for a table with radios or checkboxes in left column.
TableSeparator class Symfony\Component\Console\Helper vendor/symfony/console/Helper/TableSeparator.php Marks a row as being a separator. 2
TablesInterface interface Drupal\Core\Entity\Query\Sql core/lib/Drupal/Core/Entity/Query/Sql/TablesInterface.php Adds tables and fields to the SQL entity query. 1
TableSort class Drupal\Core\Utility core/lib/Drupal/Core/Utility/TableSort.php Provides a class for table sorting processing and rendering. 4
TableSortExtender class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/TableSortExtender.php Query extender class for tablesort queries. 1
TableStyle class Symfony\Component\Console\Helper vendor/symfony/console/Helper/TableStyle.php Defines the styles for a Table.
Tag interface phpDocumentor\Reflection\DocBlock vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php 2 26
Tag class Drupal\views\Plugin\views\cache core/modules/views/src/Plugin/views/cache/Tag.php Simple caching of query results for Views displays.
TagFactory interface phpDocumentor\Reflection\DocBlock vendor/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php 1 1
TaggedContainerInterface interface Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/TaggedContainerInterface.php TaggedContainerInterface is the interface implemented when a container knows how to deals with tags. 1
TaggedHandlersPass class Drupal\Core\DependencyInjection\Compiler core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php Collects services to add/inject them into a consumer service. 1
TaggedIterator

since Symfony 7.1, use {

class Symfony\Component\DependencyInjection\Attribute vendor/symfony/dependency-injection/Attribute/TaggedIterator.php Autowires an iterator of services based on a tag name.
TaggedIteratorArgument class Symfony\Component\DependencyInjection\Argument vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php Represents a collection of services found by tag name to lazily iterate over. 13
TaggedLocator

since Symfony 7.1, use {

class Symfony\Component\DependencyInjection\Attribute vendor/symfony/dependency-injection/Attribute/TaggedLocator.php Autowires a locator of services based on a tag name.
TaggedTemplateExpression class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/TaggedTemplateExpression.php A node that represents a tagged template expression. For example: fn`template`
TaggedValue final class Symfony\Component\Yaml\Tag vendor/symfony/yaml/Tag/TaggedValue.php @author Nicolas Grekas <p@tchwork.com> @author Guilhem N. <egetick@gmail.com> 6
TagHeader final class Symfony\Component\Mailer\Header vendor/symfony/mailer/Header/TagHeader.php @author Kevin Bond <kevinbond@gmail.com>
Tags class Drupal\Component\Utility core/lib/Drupal/Component/Utility/Tags.php Defines a class that can explode and implode tags. 5
TagTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php
TagWithType abstract class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php 11 1
TaoInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/TaoInstaller.php An installer to handle TAO extensions.
Tar class Drupal\system\Plugin\Archiver core/modules/system/src/Plugin/Archiver/Tar.php Defines an archiver implementation for .tar files.
Tar class Drupal\Core\Archiver core/lib/Drupal/Core/Archiver/Tar.php Defines an archiver implementation for .tar files. 1 1
Tar class Composer\Util vendor/composer/composer/src/Composer/Util/Tar.php @author Wissem Riahi <wissemr@gmail.com> 1
TarDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/TarDownloader.php Downloader for tar files: tar, tar.gz or tar.bz2
Target final class Doctrine\Common\Annotations\Annotation vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php Annotation that can be used to signal to the parser to check the annotation target during the parsing process. 3
Target final class Symfony\Component\DependencyInjection\Attribute vendor/symfony/dependency-injection/Attribute/Target.php An attribute to tell how a dependency is used and hint named autowiring aliases. 4
TargetBundle class Drupal\taxonomy\Plugin\migrate\process core/modules/taxonomy/src/Plugin/migrate/process/TargetBundle.php Converts a Drupal 6 vocabulary ID to a target bundle array.
TargetIdResolver class Drupal\serialization\EntityResolver core/modules/serialization/src/EntityResolver/TargetIdResolver.php Resolves entities from data that contains an entity target ID. 2
TaskQueue class GuzzleHttp\Promise vendor/guzzlehttp/promises/src/TaskQueue.php A task queue that executes tasks in a FIFO order.
TaskQueueInterface interface GuzzleHttp\Promise vendor/guzzlehttp/promises/src/TaskQueueInterface.php 1
Tasks abstract class Drupal\Core\Database\Install core/lib/Drupal/Core/Database/Install/Tasks.php Database installer structure. 3 4
Tasks class Drupal\sqlite\Driver\Database\sqlite\Install core/modules/sqlite/src/Driver/Database/sqlite/Install/Tasks.php Specifies installation tasks for SQLite databases.
Tasks class Drupal\pgsql\Driver\Database\pgsql\Install core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php Specifies installation tasks for PostgreSQL databases.
Tasks class Drupal\mysql\Driver\Database\mysql\Install core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php Specifies installation tasks for MySQL and equivalent databases.
TastyIgniterInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php
Taxonomy class Drupal\taxonomy\Plugin\views\argument core/modules/taxonomy/src/Plugin/views/argument/Taxonomy.php Argument handler for basic taxonomy tid.
TaxonomyController class Drupal\taxonomy\Controller core/modules/taxonomy/src/Controller/TaxonomyController.php Provides route responses for taxonomy.module.
TaxonomyHooks class Drupal\taxonomy\Hook core/modules/taxonomy/src/Hook/TaxonomyHooks.php Hook implementations for taxonomy.
TaxonomyIndexDepthQueryTrait trait Drupal\taxonomy core/modules/taxonomy/src/TaxonomyIndexDepthQueryTrait.php Builds a performant depth subquery and adds it as a join to the query. 2
TaxonomyIndexTid class Drupal\taxonomy\Plugin\views\field core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php Field handler to display all taxonomy terms of a node.
TaxonomyIndexTid class Drupal\taxonomy\Plugin\views\filter core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Filter by term id. 1
TaxonomyIndexTidDepth class Drupal\taxonomy\Plugin\views\filter core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php Filter handler for taxonomy terms with depth.
TaxonomyPermissions class Drupal\taxonomy core/modules/taxonomy/src/TaxonomyPermissions.php Provides dynamic permissions of the taxonomy module.
TaxonomyTerm class Drupal\taxonomy\Plugin\views\wizard core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php Tests creating taxonomy views with the wizard.
TaxonomyTermHierarchyConstraint class Drupal\taxonomy\Plugin\Validation\Constraint core/modules/taxonomy/src/Plugin/Validation/Constraint/TaxonomyTermHierarchyConstraint.php Validation constraint for changing the term hierarchy in pending revisions.

Pagination

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