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
EventAlreadyAssignedException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/EventAlreadyAssignedException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
EventBase class Drupal\migrate\Event core/modules/migrate/src/Event/EventBase.php 2 1
EventCollection final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Events/EventCollection.php @template-implements IteratorAggregate<int, Event>
EventCollectionIterator final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Events/EventCollectionIterator.php @template-implements Iterator<int, Event>
EventDataCollector class Symfony\Component\HttpKernel\DataCollector vendor/symfony/http-kernel/DataCollector/EventDataCollector.php @author Fabien Potencier <fabien@symfony.com>
EventDispatcher class Composer\EventDispatcher vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php The Event Dispatcher. 13
EventDispatcher class Symfony\Component\EventDispatcher vendor/symfony/event-dispatcher/EventDispatcher.php The EventDispatcherInterface is the central point of Symfony's event listener system. 1 2
EventDispatcherInterface interface Symfony\Component\EventDispatcher vendor/symfony/event-dispatcher/EventDispatcherInterface.php The EventDispatcherInterface is the central point of Symfony's event listener system. Listeners are registered on the manager and events are dispatched through the manager. 3 5
EventDispatcherInterface interface Psr\EventDispatcher vendor/psr/event-dispatcher/src/EventDispatcherInterface.php Defines a dispatcher for events. 1 9
EventDispatcherInterface interface Symfony\Contracts\EventDispatcher vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php Allows providing hooks on domain-specific lifecycles by dispatching events. 1 41
EventDriver final class Revolt\EventLoop\Driver vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php 1
EvenTest class Twig\Node\Expression\Test vendor/twig/twig/src/Node/Expression/Test/EvenTest.php Checks if a number is even. 1
EventException class Drupal\Core\Database\Exception core/lib/Drupal/Core/Database/Exception/EventException.php Exception thrown by the database event API. 1
EventFacadeIsSealedException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/EventFacadeIsSealedException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 13
EventFacadeSealed final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/EventFacadeSealed.php @psalm-immutable
EventFacadeSealedSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/EventFacadeSealedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
EventHandler interface Masterminds\HTML5\Parser vendor/masterminds/html5/src/HTML5/Parser/EventHandler.php Standard events for HTML5. 1
EventInterface interface OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/EventInterface.php 1 1
EventLogger class OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/EventLogger.php
EventLogger final class PHPUnit\Logging vendor/phpunit/phpunit/src/Logging/EventLogger.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
EventLoggerInterface interface OpenTelemetry\API\Logs vendor/open-telemetry/api/Logs/EventLoggerInterface.php 2 3
EventLoggerProvider class OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/EventLoggerProvider.php
EventLoggerProviderFactory class OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/EventLoggerProviderFactory.php 1
EventLoggerProviderInterface interface OpenTelemetry\API\Logs vendor/open-telemetry/api/Logs/EventLoggerProviderInterface.php 1 6
EventLoggerProviderInterface interface OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/EventLoggerProviderInterface.php 2
EventLoop final class Revolt vendor/revolt/event-loop/src/EventLoop.php Accessor to allow global access to the event loop.
EventsEmitter class Peast\Syntax vendor/mck89/peast/lib/Peast/Syntax/EventsEmitter.php Events emitter class. An instance of this class is used by Parser and Scanner to emit events and attach listeners to them
EventSubscriberInterface interface Composer\EventDispatcher vendor/composer/composer/src/Composer/EventDispatcher/EventSubscriberInterface.php An EventSubscriber knows which events it is interested in. 7 8
EventSubscriberInterface interface Symfony\Component\EventDispatcher vendor/symfony/event-dispatcher/EventSubscriberInterface.php An EventSubscriber knows itself what events it is interested in. If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes {@link getSubscribedEvents} and registers the subscriber as a listener for all returned events. 155 157
ExactMatch abstract class PHP_CodeSniffer\Filters vendor/squizlabs/php_codesniffer/src/Filters/ExactMatch.php 2
ExactNamedSelector class Behat\Mink\Selector vendor/behat/mink/src/Selector/ExactNamedSelector.php Exact match selector engine. Like the Named selector engine but ignores partial matches.
ExactValueToken class Prophecy\Argument\Token vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php Exact value token.
ExactVersionConstraint class PharIo\Version vendor/phar-io/version/src/constraints/ExactVersionConstraint.php
Example final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php Reflection class for a {example tag in a Docblock. 1
ExampleFinder class phpDocumentor\Reflection\DocBlock vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php Class used to find an example file's location based on a given ExampleDescriptor.
Exception abstract class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/Exception.php WebDriver\Exception class 45 48
Exception final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
Exception interface Prophecy\Exception vendor/phpspec/prophecy/src/Prophecy/Exception/Exception.php Core Prophecy exception interface. All Prophecy exceptions implement it. 4 3
Exception abstract class Behat\Mink\Exception vendor/behat/mink/src/Exception/Exception.php Mink base exception class. 4
Exception interface PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/Exception.php 17 4
Exception interface PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/Exception/Exception.php 2
Exception interface SebastianBergmann\Diff vendor/sebastian/diff/src/Exception/Exception.php 1
Exception interface PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Exception/Exception.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 14
Exception class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/Exception.php Base class for all PHPUnit Framework exceptions. 36 10
Exception interface PharIo\Manifest vendor/phar-io/manifest/src/exceptions/Exception.php 12 1
Exception interface Http\Discovery vendor/php-http/discovery/src/Exception.php An interface implemented by all discovery related exceptions. 7 5
Exception interface SebastianBergmann\LinesOfCode vendor/sebastian/lines-of-code/src/Exception/Exception.php 3
Exception interface SebastianBergmann\Invoker vendor/phpunit/php-invoker/src/exceptions/Exception.php 2
Exception interface SebastianBergmann\Comparator vendor/sebastian/comparator/src/exceptions/Exception.php 1
Exception class Peast\Selector vendor/mck89/peast/lib/Peast/Selector/Exception.php Selector exception class. Syntax errors in selectors are thrown using this exception class. 1

Pagination

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