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
GroupSequenceProviderInterface interface Symfony\Component\Validator vendor/symfony/validator/GroupSequenceProviderInterface.php Defines the interface for a group sequence provider. 2
GroupUse class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php 1
GroupwiseMax class Drupal\views\Plugin\views\relationship core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php The relationship handler for groupwise maximum queries.
GuardTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/GuardTokenParser.php @internal 1
Guid final class Ramsey\Uuid\Guid vendor/ramsey/uuid/src/Guid/Guid.php Guid represents a UUID with "native" (little-endian) byte order 1
GuidBuilder class Ramsey\Uuid\Guid vendor/ramsey/uuid/src/Guid/GuidBuilder.php GuidBuilder builds instances of Guid 2
GuidStringCodec class Ramsey\Uuid\Codec vendor/ramsey/uuid/src/Codec/GuidStringCodec.php GuidStringCodec encodes and decodes globally unique identifiers (GUID) 1
Guzzle class OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery vendor/open-telemetry/sdk/Common/Http/Psr/Client/Discovery/Guzzle.php 1
GuzzleException interface GuzzleHttp\Exception vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php 2 3
GzipDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/GzipDownloader.php GZip archive downloader.
HaltCompiler class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php
Handler class Drupal\Composer\Plugin\Scaffold composer/Plugin/Scaffold/Handler.php Core class of the plugin.
HandlerBase abstract class Drupal\views\Plugin\views core/modules/views/src/Plugin/views/HandlerBase.php Base class for Views handler plugins. 6 10
HandlerInterface interface Symfony\Component\CssSelector\Parser\Handler vendor/symfony/css-selector/Parser/Handler/HandlerInterface.php CSS selector handler interface. 6
HandlerStack class GuzzleHttp vendor/guzzlehttp/guzzle/src/HandlerStack.php Creates a composed Guzzle handler function by stacking middlewares on top of an HTTP handler function. 4
HandlerStackConfigurator class Drupal\Core\Http core/lib/Drupal/Core/Http/HandlerStackConfigurator.php Defines a class for configuring middlewares on the http handler stack.
HasEveryBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/HasEveryBinary.php 1
HashHandler class Symfony\Component\CssSelector\Parser\Handler vendor/symfony/css-selector/Parser/Handler/HashHandler.php CSS selector comment handler.
HashNode class Symfony\Component\CssSelector\Node vendor/symfony/css-selector/Node/HashNode.php Represents a "<selector>#<id>" node. 1
HashParser class Symfony\Component\CssSelector\Parser\Shortcut vendor/symfony/css-selector/Parser/Shortcut/HashParser.php CSS selector hash parser shortcut. 1
HasNamedArguments final class Symfony\Component\Validator\Attribute vendor/symfony/validator/Attribute/HasNamedArguments.php Hints the loader that some constraint options are required. 7
HasPublicDescriptorTrait trait Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/HasPublicDescriptorTrait.php
HasSomeBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/HasSomeBinary.php 1
Header final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/Header.php
HeaderBag class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/HeaderBag.php HeaderBag is a container for HTTP headers. 1
HeaderInterface interface Symfony\Component\Mime\Header vendor/symfony/mime/Header/HeaderInterface.php A MIME Header. 1 1
HeaderProcessor final class GuzzleHttp\Handler vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php @internal
HeaderRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/HeaderRequestMatcher.php Checks the presence of HTTP headers in a Request.
Headers final class Symfony\Component\Mime\Header vendor/symfony/mime/Header/Headers.php A collection of headers. 11
HeadersCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/HeadersCacheContext.php Defines the HeadersCacheContext service, for "per header" caching.
HeaderUtils class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/HeaderUtils.php HTTP header utility functions.
Heading class Drupal\ckeditor5\Plugin\CKEditor5Plugin core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php CKEditor 5 Heading plugin. 1 1
Help final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/Help.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Help final class PHP_CodeSniffer\Util vendor/squizlabs/php_codesniffer/src/Util/Help.php 1
HelpBlock class Drupal\help\Plugin\Block core/modules/help/src/Plugin/Block/HelpBlock.php Provides a 'Help' block.
HelpBreadcrumbBuilder class Drupal\help core/modules/help/src/HelpBreadcrumbBuilder.php Provides a breadcrumb builder for help topic pages. 2
HelpCommand class Symfony\Component\Console\Command vendor/symfony/console/Command/HelpCommand.php HelpCommand displays the help for a given command. 1
HelpController class Drupal\help\Controller core/modules/help/src/Controller/HelpController.php Controller routines for help routes.
Helper abstract class Symfony\Component\Console\Helper vendor/symfony/console/Helper/Helper.php Helper is the base class for all helper classes. 6 6
HelperInterface interface Symfony\Component\Console\Helper vendor/symfony/console/Helper/HelperInterface.php HelperInterface is the interface all helpers must implement. 1 3
Helpers class VariableAnalysis\Lib vendor/sirbrillig/phpcs-variable-analysis/VariableAnalysis/Lib/Helpers.php 2
HelperSet class Symfony\Component\Console\Helper vendor/symfony/console/Helper/HelperSet.php HelperSet represents a set of helpers to be used with a command. 7
HelpHooks class Drupal\help\Hook core/modules/help/src/Hook/HelpHooks.php Hook implementations for help.
HelpSearch class Drupal\help\Plugin\Search core/modules/help/src/Plugin/Search/HelpSearch.php Handles searching for help using the Search module index.
HelpSection class Drupal\help\Annotation core/modules/help/src/Annotation/HelpSection.php Defines a Plugin annotation object for help page section plugins.
HelpSection class Drupal\help\Attribute core/modules/help/src/Attribute/HelpSection.php Defines a HelpSection attribute object for plugin discovery. 3
HelpSectionManager class Drupal\help core/modules/help/src/HelpSectionManager.php Manages help page section plugins. 2 2
HelpSectionPluginBase abstract class Drupal\help\Plugin\HelpSection core/modules/help/src/Plugin/HelpSection/HelpSectionPluginBase.php Provides a base class for help section plugins. 2
HelpSectionPluginInterface interface Drupal\help core/modules/help/src/HelpSectionPluginInterface.php Provides an interface for a plugin for a section of the /admin/help page. 1 1
HelpTopicDiscovery class Drupal\help core/modules/help/src/HelpTopicDiscovery.php Discovers help topic plugins from Twig files in help_topics directories.

Pagination

  • First page
  • Previous page
  • …
  • Page 84
  • Page 85
  • Page 86
  • Page 87
  • Page 88
  • Page 89
  • Page 90
  • Page 91
  • Page 92
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal