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
ManifestDocumentMapperException class PharIo\Manifest vendor/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php
ManifestElement class PharIo\Manifest vendor/phar-io/manifest/src/xml/ManifestElement.php 10
ManifestElementException class PharIo\Manifest vendor/phar-io/manifest/src/exceptions/ManifestElementException.php
ManifestLoader class PharIo\Manifest vendor/phar-io/manifest/src/ManifestLoader.php 1
ManifestLoaderException class PharIo\Manifest vendor/phar-io/manifest/src/exceptions/ManifestLoaderException.php
ManifestSerializer class PharIo\Manifest vendor/phar-io/manifest/src/ManifestSerializer.php @psalm-suppress MissingConstructor
Manipulator class Behat\Mink\Selector\Xpath vendor/behat/mink/src/Selector/Xpath/Manipulator.php XPath manipulation utility. 1
MantisBTInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php
ManyToOne class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/ManyToOne.php Complex filter to handle filtering for many to one relationships. 5 4
ManyToOne class Drupal\views\Plugin\views\argument core/modules/views/src/Plugin/views/argument/ManyToOne.php Argument handler for many to one relationships. 2 2
ManyToOneHelper class Drupal\views core/modules/views/src/ManyToOneHelper.php This many to one helper object is used on both arguments and filters. 3
Map class Drupal\Core\TypedData\Plugin\DataType core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php The "map" data type. 1 1
MapDataDefinition class Drupal\Core\TypedData core/lib/Drupal/Core/TypedData/MapDataDefinition.php A typed data definition class for defining maps. 5 1
MapDateTime class Symfony\Component\HttpKernel\Attribute vendor/symfony/http-kernel/Attribute/MapDateTime.php Controller parameter tag to configure DateTime arguments. 1
MapEntry class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php 1
MapError final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/MapError.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
MapField class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php MapField is used by generated protocol message classes to manipulate map fields. It can be used like native PHP array. 1
MapFieldItemList class Drupal\Core\Field core/lib/Drupal/Core/Field/MapFieldItemList.php Defines an item list class for map fields. 1
MapFieldIter class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/MapFieldIter.php MapFieldIter is used to iterate MapField. It is also need for the foreach syntax.
MapInterface interface Ramsey\Collection\Map vendor/ramsey/collection/src/Map/MapInterface.php An object that maps keys to values. 2
MapItem class Drupal\Core\Field\Plugin\Field\FieldType core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php Defines the 'map' entity field type.
MapParser class OpenTelemetry\SDK\Common\Configuration\Parser vendor/open-telemetry/sdk/Common/Configuration/Parser/MapParser.php 1
MappedDiff class Drupal\Component\Diff core/lib/Drupal/Component/Diff/MappedDiff.php FIXME: bad name. @todo document @private @subpackage DifferenceEngine 1
Mapper final class SebastianBergmann\CodeUnit vendor/sebastian/code-unit/src/Mapper.php 1
MapperExceptionInterface interface Drupal\Component\Plugin\Exception core/lib/Drupal/Component/Plugin/Exception/MapperExceptionInterface.php Base exception interface for grouping mapper exceptions.
MapperInterface interface Drupal\Component\Plugin\Mapper core/lib/Drupal/Component/Plugin/Mapper/MapperInterface.php Plugin mapper interface. 1 1
Mapping abstract class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/Mapping.php Allows fields to be mapped to specific use cases.
Mapping class Drupal\Core\Config\Schema core/lib/Drupal/Core/Config/Schema/Mapping.php Defines a mapping configuration element. 6 1
MappingException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/MappingException.php 6
MappingException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/MappingException.php MappingException. 5
MapQueryParameter final class Symfony\Component\HttpKernel\Attribute vendor/symfony/http-kernel/Attribute/MapQueryParameter.php Can be used to pass a query parameter to a controller argument. 1
MapQueryString class Symfony\Component\HttpKernel\Attribute vendor/symfony/http-kernel/Attribute/MapQueryString.php Controller parameter tag to map the query string of the request to typed object and validate it. 1
MapRequestPayload class Symfony\Component\HttpKernel\Attribute vendor/symfony/http-kernel/Attribute/MapRequestPayload.php Controller parameter tag to map the request content to typed object and validate it. 1
MapUploadedFile class Symfony\Component\HttpKernel\Attribute vendor/symfony/http-kernel/Attribute/MapUploadedFile.php 1
MarkAliasInstalledOperation class Composer\DependencyResolver\Operation vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php Solver install operation. 1
MarkAliasUninstalledOperation class Composer\DependencyResolver\Operation vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php Solver install operation. 1
Markdown class PHP_CodeSniffer\Generators vendor/squizlabs/php_codesniffer/src/Generators/Markdown.php
MarkdownDescriptor class Symfony\Component\Console\Descriptor vendor/symfony/console/Descriptor/MarkdownDescriptor.php Markdown descriptor. 1
MarkedIncomplete final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Outcome/MarkedIncomplete.php @psalm-immutable 12
MarkedIncompleteSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Outcome/MarkedIncompleteSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 6 6
Markup class Twig vendor/twig/twig/src/Markup.php Marks a content as safe. 4
Markup class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/Markup.php Handler to run a field through check_markup, using a companion format field.
Markup final class Drupal\Core\Render core/lib/Drupal/Core/Render/Markup.php Defines an object that passes safe strings through the render system. 15
MarkupInterface interface Drupal\Component\Render core/lib/Drupal/Component/Render/MarkupInterface.php Marks an object's __toString() method as returning markup. 11 27
MarkupNormalizer class Drupal\serialization\Normalizer core/modules/serialization/src/Normalizer/MarkupNormalizer.php Normalizes MarkupInterface objects into a string. 2
MarkupTrait trait Drupal\Component\Render core/lib/Drupal/Component/Render/MarkupTrait.php Implements MarkupInterface and Countable for rendered objects. 6
MarshallingSessionHandler class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/MarshallingSessionHandler.php @author Ahmed TAILOULOUTE <ahmed.tailouloute@gmail.com>
MatchAllConstraint class Composer\Semver\Constraint vendor/composer/semver/src/Constraint/MatchAllConstraint.php Defines the absence of a constraint. 9
MatchAllResult final class Composer\Pcre vendor/composer/pcre/src/MatchAllResult.php
MatchAllStrictGroupsResult final class Composer\Pcre vendor/composer/pcre/src/MatchAllStrictGroupsResult.php

Pagination

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