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
Exception interface SebastianBergmann\Template vendor/phpunit/php-text-template/src/exceptions/Exception.php 2 4
Exception final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Exception interface PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 14 1
Exception interface PHPUnit\Util vendor/phpunit/phpunit/src/Util/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 5 2
Exception interface SebastianBergmann\CodeUnit vendor/sebastian/code-unit/src/exceptions/Exception.php 3 1
Exception interface PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 14 2
Exception interface SebastianBergmann\Type vendor/sebastian/type/src/exception/Exception.php 1
Exception final class PHPUnit\TextUI\CliArguments vendor/phpunit/phpunit/src/TextUI/Configuration/Cli/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 4
Exception interface PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 6
Exception class Peast\Syntax vendor/mck89/peast/lib/Peast/Syntax/Exception.php Syntax exception class. Syntax errors in the source are thrown using this using this exception class. 2 1
Exception class Masterminds\HTML5 vendor/masterminds/html5/src/HTML5/Exception.php The base exception for the HTML5 project. 1 2
Exception interface PharIo\Version vendor/phar-io/version/src/exceptions/Exception.php 8 2
Exception final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
Exception interface SebastianBergmann\Timer vendor/phpunit/php-timer/src/exceptions/Exception.php 2
Exception interface SebastianBergmann\Complexity vendor/sebastian/complexity/src/Exception/Exception.php 1
Exception interface PHPUnit vendor/phpunit/phpunit/src/Exception.php 9 4
Exception interface Http\Client vendor/php-http/httplug/src/Exception.php Every HTTP Client related Exception must implement this interface. 2 5
Exception interface PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 13 4
Exception class TheSeer\Tokenizer vendor/theseer/tokenizer/src/Exception.php 3
Exception interface SebastianBergmann\CliParser vendor/sebastian/cli-parser/src/exceptions/Exception.php 4 1
Exception interface SebastianBergmann\CodeCoverage vendor/phpunit/php-code-coverage/src/Exception/Exception.php 19 8
Exception interface SebastianBergmann\GlobalState vendor/sebastian/global-state/src/exceptions/Exception.php 1
ExceptionCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/ExceptionCaster.php Casts common Exception classes to array representation.
ExceptionCode final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Exception/ExceptionCode.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ExceptionComparator final class SebastianBergmann\Comparator vendor/sebastian/comparator/src/ExceptionComparator.php Compares Exception instances for equality.
ExceptionDataCollector class Symfony\Component\HttpKernel\DataCollector vendor/symfony/http-kernel/DataCollector/ExceptionDataCollector.php @author Fabien Potencier <fabien@symfony.com>
ExceptionDetectNeedsInstallSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php Exception handler to determine if an exception indicates an uninstalled site.
ExceptionEvent final class Symfony\Component\HttpKernel\Event vendor/symfony/http-kernel/Event/ExceptionEvent.php Allows to create a response for a thrown exception. 23
ExceptionFound class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ExceptionFound.php 2
ExceptionHandler class Drupal\Core\Database core/lib/Drupal/Core/Database/ExceptionHandler.php Base Database exception handler class. 1 3
ExceptionHandler class Drupal\mysql\Driver\Database\mysql core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php MySql database exception handler class.
ExceptionInterface interface Symfony\Component\HttpFoundation\Exception vendor/symfony/http-foundation/Exception/ExceptionInterface.php 1
ExceptionInterface interface Symfony\Component\VarExporter\Exception vendor/symfony/var-exporter/Exception/ExceptionInterface.php 3 2
ExceptionInterface interface Symfony\Component\CssSelector\Exception vendor/symfony/css-selector/Exception/ExceptionInterface.php Interface for exceptions. 1
ExceptionInterface interface Symfony\Component\Yaml\Exception vendor/symfony/yaml/Exception/ExceptionInterface.php Exception interface for all exceptions thrown by the component. 1
ExceptionInterface interface Symfony\Component\Console\Exception vendor/symfony/console/Exception/ExceptionInterface.php ExceptionInterface. 6 3
ExceptionInterface interface JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ExceptionInterface.php 2
ExceptionInterface interface Symfony\Component\String\Exception vendor/symfony/string/Exception/ExceptionInterface.php 2 5
ExceptionInterface interface Drupal\Component\Plugin\Exception core/lib/Drupal/Component/Plugin/Exception/ExceptionInterface.php Exception interface for all exceptions thrown by the Plugin component. 5 1
ExceptionInterface interface Symfony\Component\DependencyInjection\Exception vendor/symfony/dependency-injection/Exception/ExceptionInterface.php Base ExceptionInterface for Dependency Injection component. 5 1
ExceptionInterface interface Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/ExceptionInterface.php Base ExceptionInterface for the Validator component. 5
ExceptionInterface interface Symfony\Component\Process\Exception vendor/symfony/process/Exception/ExceptionInterface.php Marker Interface for the Process Component. 3 1
ExceptionInterface interface Symfony\Component\Lock\Exception vendor/symfony/lock/Exception/ExceptionInterface.php Base ExceptionInterface for the Lock Component. 8
ExceptionInterface interface Symfony\Component\Mime\Exception vendor/symfony/mime/Exception/ExceptionInterface.php @author Fabien Potencier <fabien@symfony.com> 4
ExceptionInterface interface Doctrine\Instantiator\Exception vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php Base exception marker interface for the instantiator component 2 2
ExceptionInterface interface Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/ExceptionInterface.php Base exception interface. 6 2
ExceptionInterface interface Symfony\Component\Filesystem\Exception vendor/symfony/filesystem/Exception/ExceptionInterface.php Exception interface for all exceptions thrown by the component. 3 1
ExceptionInterface interface Symfony\Component\Routing\Exception vendor/symfony/routing/Exception/ExceptionInterface.php ExceptionInterface. 7 3
ExceptionInterface interface Symfony\Component\BrowserKit\Exception vendor/symfony/browser-kit/Exception/ExceptionInterface.php Base ExceptionInterface for the BrowserKit component. 6
ExceptionInterface interface PhpTuf\ComposerStager\API\Exception vendor/php-tuf/composer-stager/src/API/Exception/ExceptionInterface.php An interface that all concrete exceptions must implement. 5 10

Pagination

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