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
EqualBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/EqualBinary.php 1
Equality class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/Equality.php Simple filter to handle equal to / not equal to filters.
EqualTo class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/EqualTo.php Validates that a value is equal to another value.
EqualToValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/EqualToValidator.php Validates values are equal (==).
EquivalentUpdate final class Drupal\Core\Update core/lib/Drupal/Core/Update/EquivalentUpdate.php Value object to hold information about an equivalent update. 2
Error class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Error.php Error node used during parsing with error recovery.
Error class Twig\Error vendor/twig/twig/src/Error/Error.php Twig base exception. 4 4
Error class Drupal\Core\Utility core/lib/Drupal/Core/Utility/Error.php Drupal error utility class. 29
Error final class PHPUnit\Framework\TestStatus vendor/phpunit/phpunit/src/Framework/TestStatus/Error.php @psalm-immutable
Error class PhpParser vendor/nikic/php-parser/lib/PhpParser/Error.php 10
ErrorCollection class Drupal\jsonapi\JsonApiResource core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php To be used when the primary data is `errors`. 3
ErrorController class Symfony\Component\HttpKernel\Controller vendor/symfony/http-kernel/Controller/ErrorController.php Renders error or exception pages from a given FlattenException.
Errored final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Outcome/Errored.php @psalm-immutable 13
ErroredSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Outcome/ErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 6 6
ErrorEnhancerInterface interface Symfony\Component\ErrorHandler\ErrorEnhancer vendor/symfony/error-handler/ErrorEnhancer/ErrorEnhancerInterface.php 3 1
ErrorException final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/Exception/ErrorException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ErrorFuture final class OpenTelemetry\SDK\Common\Future vendor/open-telemetry/sdk/Common/Future/ErrorFuture.php @psalm-suppress MissingTemplateParam 2
ErrorHandler class Symfony\Component\ErrorHandler vendor/symfony/error-handler/ErrorHandler.php A generic ErrorHandler for the PHP engine. 4
ErrorHandler interface PhpParser vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php 2 4
ErrorHandler final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/ErrorHandler.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
ErrorHandler class Composer\Util vendor/composer/composer/src/Composer/Util/ErrorHandler.php Convert PHP errors into exceptions 1
ErrorHandlerConfigurator class Symfony\Component\HttpKernel\Debug vendor/symfony/http-kernel/Debug/ErrorHandlerConfigurator.php Configures the error handler.
ErrorListener class Symfony\Component\Console\EventListener vendor/symfony/console/EventListener/ErrorListener.php @author James Halsall <james.t.halsall@googlemail.com> @author Robin Chalas <robin.chalas@gmail.com>
ErrorListener class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/ErrorListener.php @author Fabien Potencier <fabien@symfony.com>
ErrorLogWriter class OpenTelemetry\API\Behavior\Internal\LogWriter vendor/open-telemetry/api/Behavior/Internal/LogWriter/ErrorLogWriter.php 1
ErrorRendererInterface interface Symfony\Component\ErrorHandler\ErrorRenderer vendor/symfony/error-handler/ErrorRenderer/ErrorRendererInterface.php Formats an exception to be used as response content. 3 1
ErrorSuppress class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ErrorSuppress.php
ErrorTriggered final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Issue/ErrorTriggered.php @psalm-immutable 5
ErrorTriggeredSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Issue/ErrorTriggeredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2 2
Escaper class Behat\Mink\Selector\Xpath vendor/behat/mink/src/Selector/Xpath/Escaper.php XPath escaper. 3
Escaper class Symfony\Component\Yaml vendor/symfony/yaml/Escaper.php Escaper encapsulates escaping rules for single and double-quoted YAML strings.
EscaperExtension final class Twig\Extension vendor/twig/twig/src/Extension/EscaperExtension.php 3
EscaperNodeVisitor final class Twig\NodeVisitor vendor/twig/twig/src/NodeVisitor/EscaperNodeVisitor.php @author Fabien Potencier <fabien@symfony.com> 1
EscaperRuntime final class Twig\Runtime vendor/twig/twig/src/Runtime/EscaperRuntime.php 4
Esi class Symfony\Component\HttpKernel\HttpCache vendor/symfony/http-kernel/HttpCache/Esi.php Esi implements the ESI capabilities to Request and Response instances.
EsiFragmentRenderer class Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/EsiFragmentRenderer.php Implements the ESI rendering strategy.
ESLintSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Debug vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Debug/ESLintSniff.php
EsmtpTransport class Symfony\Component\Mailer\Transport\Smtp vendor/symfony/mailer/Transport/Smtp/EsmtpTransport.php Sends Emails over SMTP with ESMTP support. 5
EsmtpTransportFactory final class Symfony\Component\Mailer\Transport\Smtp vendor/symfony/mailer/Transport/Smtp/EsmtpTransportFactory.php @author Konstantin Myakshin <molodchick@gmail.com> 1
EvalObjectFactorySniff class PHP_CodeSniffer\Standards\MySource\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/PHP/EvalObjectFactorySniff.php
EvalSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/EvalSniff.php
Eval_ class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Eval_.php
EvDriver final class Revolt\EventLoop\Driver vendor/revolt/event-loop/src/EventLoop/Driver/EvDriver.php 1
Event final class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/Event.php
Event class Composer\EventDispatcher vendor/composer/composer/src/Composer/EventDispatcher/Event.php The base event class 8 9
Event class Composer\Script vendor/composer/composer/src/Composer/Script/Event.php The script event class 12
Event class Drupal\Component\EventDispatcher core/lib/Drupal/Component/EventDispatcher/Event.php Provides a forward-compatibility layer for the Symfony 5 event class. 28 30
Event class Symfony\Contracts\EventDispatcher vendor/symfony/event-dispatcher-contracts/Event.php Event is the base class for classes containing event data. 11 12
Event interface PHPUnit\Event vendor/phpunit/phpunit/src/Event/Events/Event.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 71 75
Event class Opentelemetry\Proto\Trace\V1\Span vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Event.php Event is a time-stamped annotation of the span, consisting of user-supplied text description and key-value pairs. 1

Pagination

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