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
MethodFilter class Drupal\Core\Routing core/lib/Drupal/Core/Routing/MethodFilter.php Filters routes based on the HTTP method.
MethodName final class PHPUnit\Framework\MockObject\Rule vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/MethodName.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MethodNameAlreadyConfiguredException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/MethodNameAlreadyConfiguredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MethodNameConstraint final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/MethodNameConstraint.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MethodNameMatch interface PHPUnit\Framework\MockObject\Builder vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Builder/MethodNameMatch.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MethodNameNotConfiguredException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/MethodNameNotConfiguredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MethodNode class Prophecy\Doubler\Generator\Node vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php Method node. 5
MethodNotAllowedException class Symfony\Component\Routing\Exception vendor/symfony/routing/Exception/MethodNotAllowedException.php The resource was found but the request method is not allowed. 9
MethodNotAllowedHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/MethodNotAllowedHttpException.php @author Kris Wallsmith <kris@symfony.com> 1 4
MethodNotExtendableException class Prophecy\Exception\Doubler vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotExtendableException.php 1
MethodNotFoundException class Prophecy\Exception\Doubler vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/MethodNotFoundException.php 1
MethodOptions class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php Generated from protobuf message <code>google.protobuf.MethodOptions</code>
MethodParameter final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/MethodParameter.php 1
MethodParameterFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/MethodParameterFactory.php @internal This class is not part of the BC promise of this library. 1
MethodParametersAlreadyConfiguredException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/MethodParametersAlreadyConfiguredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MethodProphecy class Prophecy\Prophecy vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php Method prophecy. 15
MethodProphecyException class Prophecy\Exception\Prophecy vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php 2 5
MethodRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/MethodRequestMatcher.php Checks the HTTP method of a Request.
MethodScopeSniff class Drupal\Sniffs\Scope vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Scope/MethodScopeSniff.php Verifies that class/interface/trait methods have scope modifiers.
MethodScopeSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\Scope vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php
MethodSpacingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/MethodSpacingSniff.php
MethodTagRetrieverInterface interface Prophecy\PhpDocumentor vendor/phpspec/prophecy/src/Prophecy/PhpDocumentor/MethodTagRetrieverInterface.php @author Théo FIDRY <theo.fidry@gmail.com> 2 1
MethodTagValueNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/MethodTagValueNode.php 2
MethodTagValueParameterNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/MethodTagValueParameterNode.php 2
Metric final class OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/Metric.php @internal
Metric final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/Metric.php 5
Metric class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Metric.php Defines a Metric which has one or more timeseries. The following is a brief summary of the Metric data model. For more details, see: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md The data… 1
MetricAggregator final class OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregator.php @internal 1
MetricAggregatorFactory final class OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php @internal 1
MetricAggregatorFactoryInterface interface OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactoryInterface.php @internal 1 2
MetricAggregatorInterface interface OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorInterface.php @internal 1 2
MetricCollectorInterface interface OpenTelemetry\SDK\Metrics\MetricRegistry vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricCollectorInterface.php @internal 1 4
MetricCollectorInterface interface OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/MetricCollectorInterface.php @internal 1
MetricConfigRequest class Opentelemetry\Proto\Metrics\Experimental vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigRequest.php Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigRequest</code>
MetricConfigResponse class Opentelemetry\Proto\Metrics\Experimental vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse.php Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse</code>
MetricConverter final class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/MetricConverter.php
MetricExporter final class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/MetricExporter.php @psalm-import-type SUPPORTED_CONTENT_TYPES from ProtobufSerializer
MetricExporterFactory class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/MetricExporterFactory.php
MetricExporterFactoryInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricExporterFactoryInterface.php 4 5
MetricExporterInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricExporterInterface.php 2 7
MetricFactoryInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricFactoryInterface.php @internal 1 1
MetricMetadataInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricMetadataInterface.php 1 7
MetricReaderInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricReaderInterface.php 1 1
MetricRegistrationInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricRegistrationInterface.php @internal 2 3
MetricRegistry final class OpenTelemetry\SDK\Metrics\MetricRegistry vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistry.php @internal 1
MetricRegistryInterface interface OpenTelemetry\SDK\Metrics\MetricRegistry vendor/open-telemetry/sdk/Metrics/MetricRegistry/MetricRegistryInterface.php @internal 1 4
Metrics class GPBMetadata\Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/V1/Metrics.php
MetricsConfigService class GPBMetadata\Opentelemetry\Proto\Metrics\Experimental vendor/open-telemetry/gen-otlp-protobuf/GPBMetadata/Opentelemetry/Proto/Metrics/Experimental/MetricsConfigService.php
MetricsData class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/MetricsData.php MetricsData represents the metrics data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP metrics data but do not implement the OTLP protocol. The main difference between this message and collector…
MetricSourceInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/MetricSourceInterface.php 1 3

Pagination

  • First page
  • Previous page
  • …
  • Page 117
  • Page 118
  • Page 119
  • Page 120
  • Page 121
  • Page 122
  • Page 123
  • Page 124
  • Page 125
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal