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
ExceptionInterface interface Symfony\Component\Mailer\Exception vendor/symfony/mailer/Exception/ExceptionInterface.php Exception interface for all exceptions thrown by the component. 4
ExceptionJsonSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Default handling for JSON errors.
ExceptionLoggingSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log exceptions without further handling.
ExceptionMessageIsOrContains final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Exception/ExceptionMessageIsOrContains.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ExceptionMessageMatchesRegularExpression final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Exception/ExceptionMessageMatchesRegularExpression.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ExceptionTSniff class DrupalPractice\Sniffs\General vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/General/ExceptionTSniff.php Checks that exceptions aren't translated.
Exclude class Symfony\Component\DependencyInjection\Attribute vendor/symfony/dependency-injection/Attribute/Exclude.php An attribute to tell the class should not be registered as service. 1
ExcludeDirectoryFilterIterator class Symfony\Component\Finder\Iterator vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php ExcludeDirectoryFilterIterator filters out directories. 1
ExcludedModulesEventSubscriber final class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php The event subscriber preventing excluded modules to be exported.
ExcludeGlobalVariableFromBackup final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/ExcludeGlobalVariableFromBackup.php @psalm-immutable 1
ExcludeGlobalVariableFromBackup final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/ExcludeGlobalVariableFromBackup.php @psalm-immutable 1
ExcludeGroupFilterIterator final class PHPUnit\Runner\Filter vendor/phpunit/phpunit/src/Runner/Filter/ExcludeGroupFilterIterator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ExcludeIterator final class SebastianBergmann\FileIterator vendor/phpunit/php-file-iterator/src/ExcludeIterator.php @internal This class is not covered by the backward compatibility promise for phpunit/php-file-iterator
ExcludeList final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/ExcludeList.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ExcludeList final class SebastianBergmann\GlobalState vendor/sebastian/global-state/src/ExcludeList.php 1
ExcludeStaticPropertyFromBackup final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/ExcludeStaticPropertyFromBackup.php @psalm-immutable 1
ExcludeStaticPropertyFromBackup final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/ExcludeStaticPropertyFromBackup.php @psalm-immutable 1
ExecCommand class Composer\Command vendor/composer/composer/src/Composer/Command/ExecCommand.php @author Davey Shafik <me@daveyshafik.com>
ExecutableException class Drupal\Core\Executable core/lib/Drupal/Core/Executable/ExecutableException.php Generic executable plugin exception class. 1
ExecutableFileSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Files vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/ExecutableFileSniff.php
ExecutableFinder final class Drupal\package_manager core/modules/package_manager/src/ExecutableFinder.php An executable finder which looks for executable paths in configuration.
ExecutableFinder class Symfony\Component\Process vendor/symfony/process/ExecutableFinder.php Generic executable finder. 8
ExecutableFinder final class PhpTuf\ComposerStager\Internal\Finder\Service vendor/php-tuf/composer-stager/src/Internal/Finder/Service/ExecutableFinder.php @package Finder 2
ExecutableFinderInterface interface PhpTuf\ComposerStager\API\Finder\Service vendor/php-tuf/composer-stager/src/API/Finder/Service/ExecutableFinderInterface.php Finds executables. 2 8 1
ExecutableInterface interface Drupal\Core\Executable core/lib/Drupal/Core/Executable/ExecutableInterface.php An interface for executable plugins. 3 3
ExecutableLinesFindingVisitor final class SebastianBergmann\CodeCoverage\StaticAnalysis vendor/phpunit/php-code-coverage/src/StaticAnalysis/ExecutableLinesFindingVisitor.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
ExecutableManagerInterface interface Drupal\Core\Executable core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php An interface for managers of executable plugins. 1 4
ExecutablePluginBase abstract class Drupal\Core\Executable core/lib/Drupal/Core/Executable/ExecutablePluginBase.php Provides the basic architecture for executable plugins. 1 1
Execute class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/Execute.php WebDriver\Execute class 1
ExecutionAborted final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ExecutionAborted.php @psalm-immutable
ExecutionAbortedSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ExecutionAbortedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ExecutionContext class Drupal\Core\Validation core/lib/Drupal/Core/Validation/ExecutionContext.php Defines an execution context class. 1
ExecutionContext class Symfony\Component\Validator\Context vendor/symfony/validator/Context/ExecutionContext.php The context used and created by {@link ExecutionContextFactory}. 3
ExecutionContextAwareInterface interface OpenTelemetry\Context vendor/open-telemetry/context/ExecutionContextAwareInterface.php 2
ExecutionContextFactory class Symfony\Component\Validator\Context vendor/symfony/validator/Context/ExecutionContextFactory.php Creates new {@link ExecutionContext} instances. 1
ExecutionContextFactory class Drupal\Core\Validation core/lib/Drupal/Core/Validation/ExecutionContextFactory.php Defines an execution factory for the Symfony validator. 2
ExecutionContextFactoryInterface interface Symfony\Component\Validator\Context vendor/symfony/validator/Context/ExecutionContextFactoryInterface.php Creates instances of {@link ExecutionContextInterface}. 2 3
ExecutionContextInterface interface Symfony\Component\Validator\Context vendor/symfony/validator/Context/ExecutionContextInterface.php The context of a validation run. 2 16
ExecutionFinished final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ExecutionFinished.php @psalm-immutable 3
ExecutionFinishedSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ExecutionFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3 3
ExecutionFinishedSubscriber final class PHPUnit\Runner\GarbageCollection vendor/phpunit/phpunit/src/Runner/GarbageCollection/Subscriber/ExecutionFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ExecutionOrderDependency final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/ExecutionOrderDependency.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
ExecutionStarted final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ExecutionStarted.php @psalm-immutable 5
ExecutionStartedSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/ExecutionStartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ExecutionStartedSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/ExecutionStartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3 3
ExecutionStartedSubscriber final class PHPUnit\Runner\GarbageCollection vendor/phpunit/phpunit/src/Runner/GarbageCollection/Subscriber/ExecutionStartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Exemplar final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/Exemplar.php 6
Exemplar class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Exemplar.php A representation of an exemplar, which is a sample input measurement. Exemplars also hold information about the environment when the measurement was recorded, for example the span and trace ID of the active span when the exemplar was recorded. 1
ExemplarFilterInterface interface OpenTelemetry\SDK\Metrics\Exemplar vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarFilterInterface.php The exemplar spec is not yet stable, and can change at any time. 3 9
ExemplarReservoirInterface interface OpenTelemetry\SDK\Metrics\Exemplar vendor/open-telemetry/sdk/Metrics/Exemplar/ExemplarReservoirInterface.php 4 2

Pagination

  • First page
  • Previous page
  • …
  • Page 65
  • Page 66
  • Page 67
  • Page 68
  • Page 69
  • Page 70
  • Page 71
  • Page 72
  • Page 73
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal