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
MatchAllWithOffsetsResult final class Composer\Pcre vendor/composer/pcre/src/MatchAllWithOffsetsResult.php
MatchArm class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/MatchArm.php 2
MatchBuilderNotFoundException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/MatchBuilderNotFoundException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Matcher interface DeepCopy\Matcher vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Matcher.php 4 2
Matcher final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Matcher.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MatcherAlreadyRegisteredException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/MatcherAlreadyRegisteredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MatcherDumper class Drupal\Core\Routing core/lib/Drupal/Core/Routing/MatcherDumper.php Dumps Route information to a database table.
MatcherDumper abstract class Symfony\Component\Routing\Matcher\Dumper vendor/symfony/routing/Matcher/Dumper/MatcherDumper.php MatcherDumper is the abstract class for all built-in matcher dumpers. 1
MatcherDumper class Drupal\Core\ProxyClass\Routing core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php Provides a proxy class for \Drupal\Core\Routing\MatcherDumper.
MatcherDumperInterface interface Drupal\Core\Routing core/lib/Drupal/Core/Routing/MatcherDumperInterface.php Extends the symfony matcher dumper interface with an addRoutes method. 3
MatcherDumperInterface interface Symfony\Component\Routing\Matcher\Dumper vendor/symfony/routing/Matcher/Dumper/MatcherDumperInterface.php MatcherDumperInterface is the interface that all matcher dumper classes must implement. 2 2
Matches class Peast\Selector vendor/mck89/peast/lib/Peast/Selector/Matches.php Selector matches class 4
MatchesBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/MatchesBinary.php 1
MatchingNode class Symfony\Component\CssSelector\Node vendor/symfony/css-selector/Node/MatchingNode.php Represents a "<selector>:is(<subSelectorList>)" node.
MatchingRouteNotFoundException

in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement.

class Drupal\Core\Routing core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php No matching route was found.
MatchNoneConstraint class Composer\Semver\Constraint vendor/composer/semver/src/Constraint/MatchNoneConstraint.php Blackhole of constraints, nothing escapes it 2
MatchResult final class Composer\Pcre vendor/composer/pcre/src/MatchResult.php
MatchStrictGroupsResult final class Composer\Pcre vendor/composer/pcre/src/MatchStrictGroupsResult.php
MatchTokenEmulator final class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php 1
MatchWithOffsetsResult final class Composer\Pcre vendor/composer/pcre/src/MatchWithOffsetsResult.php
Match_ class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Match_.php
MathException class Brick\Math\Exception vendor/brick/math/src/Exception/MathException.php Base class for all math exceptions. 5 5
MatomoInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/MatomoInstaller.php Class MatomoInstaller
MauticInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
MaxDepth class Symfony\Component\Serializer\Attribute vendor/symfony/serializer/Attribute/MaxDepth.php @author Kévin Dunglas <dunglas@gmail.com> 1
MaxFileSizeExceededException class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/MaxFileSizeExceededException.php 2
MaxTrait trait Ramsey\Uuid\Rfc4122 vendor/ramsey/uuid/src/Rfc4122/MaxTrait.php Provides common functionality for max UUIDs 1
MaxUuid final class Ramsey\Uuid\Rfc4122 vendor/ramsey/uuid/src/Rfc4122/MaxUuid.php The max UUID is special form of UUID that is specified to have all 128 bits set to one
MayaInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
Mbstring final class Symfony\Polyfill\Mbstring vendor/symfony/polyfill-mbstring/Mbstring.php Partial mbstring implementation in PHP, iconv based, UTF-8 centric.
Media class Drupal\media\Plugin\views\wizard core/modules/media/src/Plugin/views/wizard/Media.php Provides Views creation wizard for Media.
Media class Drupal\ckeditor5\Plugin\CKEditor5Plugin core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php CKEditor 5 Media plugin. 1
Media class Drupal\media\Entity core/modules/media/src/Entity/Media.php Defines the media entity class. 1
MediaAccessControlHandler class Drupal\media core/modules/media/src/MediaAccessControlHandler.php Defines an access control handler for media items. 1
MediaConfigSubscriber class Drupal\media\EventSubscriber core/modules/media/src/EventSubscriber/MediaConfigSubscriber.php Listens to the config save event for media.settings. 2
MediaEmbed class Drupal\media\Plugin\Filter core/modules/media/src/Plugin/Filter/MediaEmbed.php Provides a filter to embed media items using a custom tag.
MediaFilterController class Drupal\media\Controller core/modules/media/src/Controller/MediaFilterController.php Controller which renders a preview of the provided text.
MediaForm class Drupal\media core/modules/media/src/MediaForm.php Form controller for the media edit forms. 2
MediaHooks class Drupal\media\Hook core/modules/media/src/Hook/MediaHooks.php Hook implementations for media.
MediaInterface interface Drupal\media core/modules/media/src/MediaInterface.php Provides an interface defining an entity for media items. 1 9
MediaLibrary class Drupal\ckeditor5\Plugin\CKEditor5Plugin core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/MediaLibrary.php CKEditor 5 Media Library plugin. 1
MediaLibraryEditorOpener class Drupal\media_library core/modules/media_library/src/MediaLibraryEditorOpener.php The media library opener for text editors. 2
MediaLibraryFieldWidgetOpener class Drupal\media_library core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php The media library opener for field widgets. 2
MediaLibraryHooks class Drupal\media_library\Hook core/modules/media_library/src/Hook/MediaLibraryHooks.php Hook implementations for media_library.
MediaLibraryOpenerInterface interface Drupal\media_library core/modules/media_library/src/MediaLibraryOpenerInterface.php Defines an interface for media library openers. 2
MediaLibrarySelectForm class Drupal\media_library\Plugin\views\field core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Defines a field that outputs a checkbox and form for selecting media.
MediaLibraryServiceProvider class Drupal\media_library core/modules/media_library/src/MediaLibraryServiceProvider.php Service provider for media library services.
MediaLibraryState class Drupal\media_library core/modules/media_library/src/MediaLibraryState.php A value object for the media library state. 4
MediaLibraryUiBuilder class Drupal\media_library core/modules/media_library/src/MediaLibraryUiBuilder.php Service which builds the media library. 4 2
MediaLibraryViewsHooks class Drupal\media_library\Hook core/modules/media_library/src/Hook/MediaLibraryViewsHooks.php Hook implementations for media_library.

Pagination

  • First page
  • Previous page
  • …
  • Page 112
  • Page 113
  • Page 114
  • Page 115
  • Page 116
  • Page 117
  • Page 118
  • Page 119
  • Page 120
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal