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
HelpTopicPluginBase abstract class Drupal\help core/modules/help/src/HelpTopicPluginBase.php Base class for help topic plugins. 1
HelpTopicPluginController class Drupal\help\Controller core/modules/help/src/Controller/HelpTopicPluginController.php Controller for help topic plugins.
HelpTopicPluginInterface interface Drupal\help core/modules/help/src/HelpTopicPluginInterface.php Defines an interface for help topic plugin classes. 1 1
HelpTopicPluginManager class Drupal\help core/modules/help/src/HelpTopicPluginManager.php Provides the default help_topic manager. 2
HelpTopicPluginManagerInterface interface Drupal\help core/modules/help/src/HelpTopicPluginManagerInterface.php Defines an interface for managing help topics and storing their definitions. 1 2
HelpTopicSection class Drupal\help\Plugin\HelpSection core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php Provides the help topics list section for the help page.
HelpTopicTwig class Drupal\help core/modules/help/src/HelpTopicTwig.php Represents a help topic plugin whose definition comes from a Twig file.
HelpTopicTwigLoader class Drupal\help core/modules/help/src/HelpTopicTwigLoader.php Loads help topic Twig files from the filesystem. 2
HelpTwigExtension class Drupal\help core/modules/help/src/HelpTwigExtension.php Defines and registers Drupal Twig extensions for rendering help topics. 2
HeredocSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/HeredocSniff.php
HereNowdocIdentifierSpacingSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/HereNowdocIdentifierSpacingSniff.php
Hexadecimal final class Ramsey\Uuid\Type vendor/ramsey/uuid/src/Type/Hexadecimal.php A value object representing a hexadecimal number 28
Hg class Composer\Util vendor/composer/composer/src/Composer/Util/Hg.php @author Jonas Renaudot <jonas.renaudot@gmail.com> 2
Hgblame class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Hgblame.php
HgDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/HgDownloader.php @author Per Bernhardt <plb@webfactory.de>
HgDriver class Composer\Repository\Vcs vendor/composer/composer/src/Composer/Repository/Vcs/HgDriver.php @author Per Bernhardt <plb@webfactory.de> 1
HhvmDetector class Composer\Platform vendor/composer/composer/src/Composer/Platform/HhvmDetector.php 1
Hidden class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Hidden.php Provides a form element for an HTML 'hidden' input element. 1
HighestIdInterface interface Drupal\migrate\Audit core/modules/migrate/src/Audit/HighestIdInterface.php Defines an interface for destination and ID maps which track a highest ID. 2 2
HighlightCommand class Drupal\views\Ajax core/modules/views/src/Ajax/HighlightCommand.php Provides an AJAX command for highlighting a certain new piece of html. 1
HIncludeFragmentRenderer class Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/HIncludeFragmentRenderer.php Implements the Hinclude rendering strategy.
Histogram class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Histogram.php Histogram represents the type of a metric that is calculated by aggregating as a Histogram of all reported measurements over a time interval. 1
Histogram final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/Histogram.php
Histogram final class OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/Histogram.php @internal
HistogramBucketReservoir final class OpenTelemetry\SDK\Metrics\Exemplar vendor/open-telemetry/sdk/Metrics/Exemplar/HistogramBucketReservoir.php 1
HistogramDataPoint final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/HistogramDataPoint.php
HistogramDataPoint class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/HistogramDataPoint.php HistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a Histogram. A Histogram contains summary statistics for a population of values, it may optionally contain the distribution of those values across a… 1
HistogramInterface interface OpenTelemetry\API\Metrics vendor/open-telemetry/api/Metrics/HistogramInterface.php 2 4
History class Symfony\Component\BrowserKit vendor/symfony/browser-kit/History.php History. 1
HistoryController class Drupal\history\Controller core/modules/history/src/Controller/HistoryController.php Returns responses for History module routes.
HistoryHooks class Drupal\history\Hook core/modules/history/src/Hook/HistoryHooks.php Hook implementations for history.
HistoryRenderCallback class Drupal\history core/modules/history/src/HistoryRenderCallback.php Render callback object.
HistoryUserTimestamp class Drupal\history\Plugin\views\filter core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php Filter for new content.
HistoryUserTimestamp class Drupal\history\Plugin\views\field core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php Field handler to display the marker for new content.
HistoryViewsHooks class Drupal\history\Hook core/modules/history/src/Hook/HistoryViewsHooks.php Hook implementations for history.
HomeCommand class Composer\Command vendor/composer/composer/src/Composer/Command/HomeCommand.php @author Robert Schönthal <seroscho@googlemail.com>
Hook class Drupal\Core\Hook\Attribute core/lib/Drupal/Core/Hook/Attribute/Hook.php Attribute for defining a class method as a hook implementation. 105
HookCollectorPass class Drupal\Core\Hook core/lib/Drupal/Core/Hook/HookCollectorPass.php Collects and registers hook implementations. 2
HookCommentSniff class Drupal\Sniffs\Commenting vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/HookCommentSniff.php Ensures hook comments on function are correct.
HookDiscovery class Drupal\Core\Plugin\Discovery core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php Provides a hook-based plugin discovery class.
HookHelpSection class Drupal\help\Plugin\HelpSection core/modules/help/src/Plugin/HelpSection/HookHelpSection.php Provides the module topics list section for the help page.
HookInitCssSniff class DrupalPractice\Sniffs\FunctionDefinitions vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionDefinitions/HookInitCssSniff.php Checks that drupal_add_css() is not used in hook_init().
HookManager class OpenTelemetry\API\Instrumentation\AutoInstrumentation vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/HookManager.php 1
HookManagerInterface interface OpenTelemetry\API\Instrumentation\AutoInstrumentation vendor/open-telemetry/api/Instrumentation/AutoInstrumentation/HookManagerInterface.php 2 1
HookMethods final class PHPUnit\Metadata\Api vendor/phpunit/phpunit/src/Metadata/Api/HookMethods.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
Host final class OpenTelemetry\SDK\Resource\Detectors vendor/open-telemetry/sdk/Resource/Detectors/Host.php
Hostname class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Hostname.php Validates that a value is a valid host name.
HostnameValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/HostnameValidator.php @author Dmitrii Poddubnyi <dpoddubny@gmail.com>
HostRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/HostRequestMatcher.php Checks the Request URL host name matches a regular expression.
HostSupportsRunningProcesses final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/HostSupportsRunningProcesses.php @package Precondition 2

Pagination

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