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
PxcmsInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
QpContentEncoder final class Symfony\Component\Mime\Encoder vendor/symfony/mime/Encoder/QpContentEncoder.php @author Lars Strojny 1
QpEncoder class Symfony\Component\Mime\Encoder vendor/symfony/mime/Encoder/QpEncoder.php @author Chris Corbyn 1
QpMimeHeaderEncoder final class Symfony\Component\Mime\Encoder vendor/symfony/mime/Encoder/QpMimeHeaderEncoder.php @author Chris Corbyn 1
Query class Drupal\Core\Entity\Query\Null core/lib/Drupal/Core/Entity/Query/Null/Query.php Defines the entity query for configuration entities.
Query class Drupal\Core\Entity\KeyValueStore\Query core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php Defines the entity query for entities stored in a key value backend.
Query final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/Query.php
Query abstract class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/Query.php Base class for query builders. 7
Query class Drupal\Core\Entity\Query\Sql core/lib/Drupal/Core/Entity/Query/Sql/Query.php The SQL storage entity query class. 2 1
Query class Drupal\workspaces\EntityQuery core/modules/workspaces/src/EntityQuery/Query.php Alters entity queries to use a workspace revision instead of the default one.
Query class Peast vendor/mck89/peast/lib/Peast/Query.php Nodes query class 1
Query class Drupal\Core\Config\Entity\Query core/lib/Drupal/Core/Config/Entity/Query/Query.php Defines the entity query for configuration entities.
QueryAggregate class Drupal\Core\Entity\Query\Sql core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php The SQL storage entity query aggregate class. 1 1
QueryAggregate class Drupal\workspaces\EntityQuery core/modules/workspaces/src/EntityQuery/QueryAggregate.php Alters aggregate entity queries to use a workspace revision if possible.
QueryAggregateInterface interface Drupal\Core\Entity\Query core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Defines an interface for aggregated entity queries. 2 2
QueryArgsCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Defines the QueryArgsCacheContext service, for "per query args" caching.
QueryBase abstract class Drupal\Core\Entity\Query core/lib/Drupal/Core/Entity/Query/QueryBase.php The base entity query class. 4 9
QueryConditionTrait trait Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php Provides an implementation of ConditionInterface.
QueryException class Drupal\Core\Entity\Query core/lib/Drupal/Core/Entity/Query/QueryException.php Exception thrown by Query() on unsupported query syntax. 5
QueryFactory class Drupal\Core\Entity\Query\Null core/lib/Drupal/Core/Entity/Query/Null/QueryFactory.php Provides a factory for creating entity query objects for the null backend.
QueryFactory class Drupal\Core\Entity\KeyValueStore\Query core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php Provides a factory for creating the key value entity query.
QueryFactory class Drupal\Core\Entity\Query\Sql\pgsql core/lib/Drupal/Core/Entity/Query/Sql/pgsql/QueryFactory.php PostgreSQL specific entity query implementation.
QueryFactory class Drupal\Core\Entity\Query\Sql core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php Factory class creating entity query objects for the SQL backend. 2 2
QueryFactory class Drupal\workspaces\EntityQuery core/modules/workspaces/src/EntityQuery/QueryFactory.php Workspaces-specific entity query implementation. 1 2
QueryFactory class Drupal\Core\Config\Entity\Query core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php Provides a factory for creating entity query objects for the config backend.
QueryFactoryInterface interface Drupal\Core\Entity\Query core/lib/Drupal/Core/Entity/Query/QueryFactoryInterface.php Defines an interface for QueryFactory classes. 4 4
QueryInterface interface Drupal\Core\Entity\Query core/lib/Drupal/Core/Entity/Query/QueryInterface.php Interface for entity queries. 5 12
QueryParameter class Drupal\views\Plugin\views\argument_default core/modules/views/src/Plugin/views/argument_default/QueryParameter.php A query parameter argument default handler.
QueryParameterRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/QueryParameterRequestMatcher.php Checks the presence of HTTP query parameters of a Request.
QueryParameterValueResolver final class Symfony\Component\HttpKernel\Controller\ArgumentResolver vendor/symfony/http-kernel/Controller/ArgumentResolver/QueryParameterValueResolver.php Resolve arguments of type: array, string, int, float, bool, \BackedEnum from query parameters. 1
QueryParameterWorkspaceNegotiator class Drupal\workspaces\Negotiator core/modules/workspaces/src/Negotiator/QueryParameterWorkspaceNegotiator.php Defines the query parameter workspace negotiator. 2
QueryPluginBase abstract class Drupal\views\Plugin\views\query core/modules/views/src/Plugin/views/query/QueryPluginBase.php Base plugin class for Views queries. 1 7
QueryTrait trait Drupal\workspaces\EntityQuery core/modules/workspaces/src/EntityQuery/QueryTrait.php Provides workspaces-specific helpers for altering entity queries.
Question class Symfony\Component\Console\Question vendor/symfony/console/Question/Question.php Represents a Question. 3 5
QuestionHelper class Symfony\Component\Console\Helper vendor/symfony/console/Helper/QuestionHelper.php The QuestionHelper class provides helpers to interact with the user. 1 3
Queue class Ramsey\Collection vendor/ramsey/collection/src/Queue.php This class provides a basic implementation of `QueueInterface`, to minimize the effort required to implement this interface. 1
QueueDatabaseFactory class Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php Defines the queue factory for the database backend.
QueueFactory class Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueFactory.php Defines the queue factory. 5
QueueFactoryInterface interface Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueFactoryInterface.php An interface defining queue factory classes. 1 1
QueueGarbageCollectionInterface interface Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php Queue garbage collection interface. 1 1
QueueInterface interface Ramsey\Collection vendor/ramsey/collection/src/QueueInterface.php A queue is a collection in which the entities in the collection are kept in order. 2
QueueInterface interface Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueInterface.php Interface for a queue. 3 3
QueueWorker class Drupal\Core\Queue\Attribute core/lib/Drupal/Core/Queue/Attribute/QueueWorker.php Declare a worker class for processing a queue item. 3
QueueWorker class Drupal\Core\Annotation core/lib/Drupal/Core/Annotation/QueueWorker.php Declare a worker class for processing a queue item.
QueueWorkerBase abstract class Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueWorkerBase.php Provides a base implementation for a QueueWorker plugin. 3 3
QueueWorkerInterface interface Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueWorkerInterface.php Defines an interface for a QueueWorker plugin. 1 1
QueueWorkerManager class Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueWorkerManager.php Defines the queue worker manager.
QueueWorkerManagerInterface interface Drupal\Core\Queue core/lib/Drupal/Core/Queue/QueueWorkerManagerInterface.php Provides an interface for a queue worker manager. 1 1
QuickStartCommand class Drupal\Core\Command core/lib/Drupal/Core/Command/QuickStartCommand.php Installs a Drupal site and starts a webserver for local testing/development.
Quota class org\bovigo\vfs vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/Quota.php Represents a quota for disk space.

Pagination

  • First page
  • Previous page
  • …
  • Page 148
  • Page 149
  • Page 150
  • Page 151
  • Page 152
  • Page 153
  • Page 154
  • Page 155
  • Page 156
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal