Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
Primary tabs
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 |
---|---|---|---|---|---|---|---|---|
MetricSourceProviderInterface | interface | OpenTelemetry\SDK\Metrics | vendor/ |
1 | 4 | |||
MetricSourceRegistryInterface | interface | OpenTelemetry\SDK\Metrics | vendor/ |
1 | 3 | |||
MetricSourceRegistryUnregisterInterface | interface | OpenTelemetry\SDK\Metrics | vendor/ |
To be replaced by MetricProducer abstraction. | 1 | 1 | ||
MetricsService | class | GPBMetadata\Opentelemetry\Proto\Collector\Metrics\V1 | vendor/ |
|||||
MetricsServiceClient | class | Opentelemetry\Proto\Collector\Metrics\V1 | vendor/ |
Service that can be used to push metrics between one Application instrumented with OpenTelemetry and a collector, or between a collector and a central collector. | ||||
MetricStreamInterface | interface | OpenTelemetry\SDK\Metrics\Stream | vendor/ |
@internal | 2 | 4 | ||
MetricWriterInterface | interface | OpenTelemetry\SDK\Metrics\MetricRegistry | vendor/ |
@internal | 1 | 7 | ||
MiaoxingInstaller | class | Composer\Installers | vendor/ |
|||||
MicroweberInstaller | class | Composer\Installers | vendor/ |
|||||
Middleware | final class | GuzzleHttp | vendor/ |
Functions used to create and wrap handlers with handler middleware. | 1 | |||
MigrateAccessCheck | class | Drupal\migrate_drupal_ui | core/ |
Checks access for migrate_drupal_ui routes. | ||||
MigrateBuildDependencyInterface | interface | Drupal\migrate | core/ |
1 | 1 | |||
MigrateConfigurationCommand | final class | PHPUnit\TextUI\Command | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
MigrateController | class | Drupal\migrate_drupal_ui\Controller | core/ |
Provides controller methods for the migration. | ||||
MigrateDestination | class | Drupal\migrate\Attribute | core/ |
Defines a MigrateDestination attribute. | 29 | |||
MigrateDestination | class | Drupal\migrate\Annotation | core/ |
Defines a migration destination plugin annotation object. | ||||
MigrateDestinationInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for Migration Destination classes. | 1 | 1 | ||
MigrateDestinationPluginManager | class | Drupal\migrate\Plugin | core/ |
Plugin manager for migrate destination plugins. | 1 | 2 | ||
MigrateDrupalHooks | class | Drupal\migrate_drupal\Hook | core/ |
Hook implementations for migrate_drupal. | ||||
MigrateDrupalServiceProvider | class | Drupal\migrate_drupal | core/ |
Alters container services. | ||||
MigrateDrupalUiHooks | class | Drupal\migrate_drupal_ui\Hook | core/ |
Hook implementations for migrate_drupal_ui. | ||||
MigrateDrupalUiRouteSubscriber | class | Drupal\migrate_drupal_ui\Routing | core/ |
Sets the controller for Migrate Message route. | 2 | |||
MigrateEntity | class | Drupal\migrate\Plugin\Derivative | core/ |
1 | 1 | |||
MigrateEntityComplete | class | Drupal\migrate\Plugin\Derivative | core/ |
Deriver for entity_complete:ENTITY_TYPE entity migrations. | 1 | |||
MigrateEntityRevision | class | Drupal\migrate\Plugin\Derivative | core/ |
1 | ||||
MigrateEvents | final class | Drupal\migrate\Event | core/ |
Defines events for the migration system. | 5 | |||
MigrateException | class | Drupal\migrate | core/ |
Defines the migrate exception class. | 1 | 41 | ||
MigrateExecutable | class | Drupal\migrate | core/ |
Defines a migrate executable class. | 3 | |||
MigrateExecutableInterface | interface | Drupal\migrate | core/ |
1 | 78 | |||
MigrateField | class | Drupal\migrate_drupal\Annotation | core/ |
Defines a field plugin annotation object. | 1 | |||
MigrateField | class | Drupal\migrate_drupal\Attribute | core/ |
Defines a field plugin attribute object. | 22 | 1 | ||
MigrateFieldInterface | interface | Drupal\migrate_drupal\Plugin | core/ |
Provides an interface for all field type plugins. | 1 | 1 | ||
MigrateFieldPluginManager | class | Drupal\migrate_drupal\Plugin | core/ |
Plugin manager for migrate field plugins. | 2 | |||
MigrateFieldPluginManagerInterface | interface | Drupal\migrate_drupal\Plugin | core/ |
1 | 4 | |||
MigrateHooks | class | Drupal\migrate\Hook | core/ |
Hook implementations for migrate. | ||||
MigrateIdMapInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for migrate ID mappings. | 2 | 16 | ||
MigrateIdMapMessageEvent | class | Drupal\migrate\Event | core/ |
Wraps an ID map message event for event listeners. | 2 | |||
MigrateImportEvent | class | Drupal\migrate\Event | core/ |
Wraps a pre- or post-import event for event listeners. | 4 | |||
MigrateLookup | class | Drupal\migrate | core/ |
Provides a migration lookup service. | 2 | |||
MigrateLookupInterface | interface | Drupal\migrate | core/ |
Provides an interface for the migration lookup service. | 1 | 8 | ||
MigrateMapDeleteEvent | class | Drupal\migrate\Event | core/ |
Wraps a migrate map delete event for event listeners. | 2 | |||
MigrateMapSaveEvent | class | Drupal\migrate\Event | core/ |
Wraps a migrate map save event for event listeners. | 2 | |||
MigrateMessage | class | Drupal\migrate | core/ |
Defines a migrate message class. | 1 | |||
MigrateMessageCapture | class | Drupal\migrate_drupal_ui\Batch | core/ |
Allows capturing messages rather than displaying them directly. | ||||
MigrateMessageController | class | Drupal\migrate_drupal_ui\Controller | core/ |
Provides controller methods for the Message form. | ||||
MigrateMessageController | class | Drupal\migrate\Controller | core/ |
Provides controller methods for the Message form. | 1 | 1 | ||
MigrateMessageInterface | interface | Drupal\migrate | core/ |
2 | 7 | |||
MigratePluginManager | class | Drupal\migrate\Plugin | core/ |
Manages migrate plugins. | 3 | 2 | 3 | |
MigratePluginManagerInterface | interface | Drupal\migrate\Plugin | core/ |
2 | 1 | |||
MigratePostRowSaveEvent | class | Drupal\migrate\Event | core/ |
Wraps a post-save event for event listeners. | 3 |