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
MigratePreRowSaveEvent class Drupal\migrate\Event core/modules/migrate/src/Event/MigratePreRowSaveEvent.php Wraps a pre-save event for event listeners. 1 1
MigrateProcess class Drupal\migrate\Attribute core/modules/migrate/src/Attribute/MigrateProcess.php Defines a MigrateProcess attribute. 77 1
MigrateProcessInterface interface Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrateProcessInterface.php An interface for migrate process plugins. 1 2
MigrateProcessPlugin class Drupal\migrate\Annotation core/modules/migrate/src/Annotation/MigrateProcessPlugin.php Defines a migration process plugin annotation object. 1
MigrateRollbackEvent class Drupal\migrate\Event core/modules/migrate/src/Event/MigrateRollbackEvent.php Wraps a pre- or post-rollback event for event listeners. 3
MigrateRowDeleteEvent class Drupal\migrate\Event core/modules/migrate/src/Event/MigrateRowDeleteEvent.php Wraps a row deletion event for event listeners. 2
MigrateSkipProcessException

in drupal:10.3.0 and is removed from drupal:12.0.0. Return FALSE from a process plugin's isPipelineStopped() method to stop further processing on a pipeline.

class Drupal\migrate core/modules/migrate/src/MigrateSkipProcessException.php This exception is thrown when the rest of the process should be skipped.
MigrateSkipRowException class Drupal\migrate core/modules/migrate/src/MigrateSkipRowException.php This exception is thrown when a row should be skipped. 10
MigrateSource class Drupal\migrate\Annotation core/modules/migrate/src/Annotation/MigrateSource.php Defines a migration source plugin annotation object.
MigrateSourceInterface interface Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrateSourceInterface.php Defines an interface for migrate sources. 1 3
MigrateSourcePluginManager class Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrateSourcePluginManager.php Plugin manager for migrate source plugins. 1 2
MigrateStub class Drupal\migrate core/modules/migrate/src/MigrateStub.php Provides the migrate stubbing service. 2
MigrateStubInterface interface Drupal\migrate core/modules/migrate/src/MigrateStubInterface.php Provides an interface for the migrate stub service. 1 1
MigrateUpgradeFormBase abstract class Drupal\migrate_drupal_ui\Form core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php Form base for the Migrate Upgrade UI. 5
MigrateUpgradeImportBatch class Drupal\migrate_drupal_ui\Batch core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php Runs a single migration batch. 1
MigrateValidatableEntityInterface interface Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php To implement by a destination plugin that should provide entity validation. 1 1
MigratingSessionHandler class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/MigratingSessionHandler.php Migrating session handler for migrating from one handler to another. It reads from the current handler and writes both the current and new ones.
Migration interface PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/Migration.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 29
Migration class Drupal\migrate\Plugin core/modules/migrate/src/Plugin/Migration.php Defines the Migration plugin. 4 4
MigrationBuilder final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/MigrationBuilder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
MigrationConfigurationTrait trait Drupal\migrate_drupal core/modules/migrate_drupal/src/MigrationConfigurationTrait.php Configures the appropriate migrations for a given source Drupal database. 1
MigrationDeriverTrait trait Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrationDeriverTrait.php Provides functionality for migration derivers. 4
MigrationException final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/MigrationException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
MigrationInterface interface Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrationInterface.php Interface for migrations. 1 80
MigrationLookup class Drupal\migrate\Plugin\migrate\process core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php Looks up the value of a property based on a previous migration.
MigrationPluginManager class Drupal\migrate_drupal core/modules/migrate_drupal/src/MigrationPluginManager.php Manages migration plugins.
MigrationPluginManager class Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrationPluginManager.php Plugin manager for migration plugins. 1 1 2
MigrationPluginManagerInterface interface Drupal\migrate\Plugin core/modules/migrate/src/Plugin/MigrationPluginManagerInterface.php Migration plugin manager interface. 1 10
MigrationState class Drupal\migrate_drupal core/modules/migrate_drupal/src/MigrationState.php Determines the migrate state for all modules enabled on the source. 1 2
MigrationWithFollowUpInterface interface Drupal\migrate_drupal\Plugin core/modules/migrate_drupal/src/Plugin/MigrationWithFollowUpInterface.php Interface for migrations with follow-up migrations. 2 3
Migrator final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
MimeHeaderEncoderInterface interface Symfony\Component\Mime\Encoder vendor/symfony/mime/Encoder/MimeHeaderEncoderInterface.php @author Chris Corbyn 2
MimeMessageNormalizer final class Symfony\Component\Serializer\Normalizer vendor/symfony/serializer/Normalizer/MimeMessageNormalizer.php Normalize Mime message classes.
MimeType final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/MimeType.php
MimeTypeGuesser class Drupal\Core\ProxyClass\File\MimeType core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php Provides a proxy class for \Drupal\Core\File\MimeType\MimeTypeGuesser.
MimeTypeGuesser class Drupal\Core\File\MimeType core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php Defines a MIME type guesser that also supports stream wrapper paths. 1
MimeTypeGuesserInterface interface Symfony\Component\Mime vendor/symfony/mime/MimeTypeGuesserInterface.php Guesses the MIME type of a file. 7 4
MimeTypes final class Symfony\Component\Mime vendor/symfony/mime/MimeTypes.php Manages MIME types and file extensions. 8
MimeTypesInterface interface Symfony\Component\Mime vendor/symfony/mime/MimeTypesInterface.php @author Fabien Potencier <fabien@symfony.com> 1
Mini class Drupal\views\Plugin\views\pager core/modules/views/src/Plugin/views/pager/Mini.php The plugin to handle mini pager.
Mink class Behat\Mink vendor/behat/mink/src/Mink.php Mink session manager.
Minus class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Minus.php
Minus class PhpParser\Node\Expr\AssignOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php
MissingBundleClassException class Drupal\Core\Entity\Exception core/lib/Drupal/Core/Entity/Exception/MissingBundleClassException.php Exception thrown if a bundle class does not exist. 1
MissingClassGroupsException class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/MissingClassGroupsException.php
MissingColonSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/MissingColonSniff.php
MissingConstructorArgumentsException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/MissingConstructorArgumentsException.php @author Maxime VEBER <maxime.veber@nekland.fr> 2
MissingContentEvent class Drupal\Core\Config\Importer core/lib/Drupal/Core/Config/Importer/MissingContentEvent.php Wraps a configuration event for event listeners. 1
MissingDataException class Drupal\Core\TypedData\Exception core/lib/Drupal/Core/TypedData/Exception/MissingDataException.php Exception thrown when an operation misses a data value; i.e., it is unset. 2
MissingDependencyException class Drupal\Core\Extension core/lib/Drupal/Core/Extension/MissingDependencyException.php Exception class to throw when modules are missing on install. 2

Pagination

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