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
Existence abstract class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Existence.php @author Bernhard Schussek <bschussek@gmail.com> 2 1
Exit_ class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Exit_.php
Expanded class Peast\Formatter vendor/mck89/peast/lib/Peast/Formatter/Expanded.php Compact formatter.
ExpectationException class Behat\Mink\Exception vendor/behat/mink/src/Exception/ExpectationException.php Exception thrown for failed expectations. 3 1
ExpectationFailedException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/ExpectationFailedException.php Exception for expectations which failed their check. 24
ExpectedExceptionSniff class DrupalPractice\Sniffs\Commenting vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/Commenting/ExpectedExceptionSniff.php Checks that the PHPunit @expectedException tags are not used.
ExpectingATEXT class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ExpectingATEXT.php 7
ExpectingCTEXT class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ExpectingCTEXT.php 1
ExpectingDomainLiteralClose class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ExpectingDomainLiteralClose.php 1
ExpectingDTEXT class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/ExpectingDTEXT.php 1
ExpiringStoreTrait trait Symfony\Component\Lock\Store vendor/symfony/lock/Store/ExpiringStoreTrait.php
ExplicitBucketHistogramAggregation final class OpenTelemetry\SDK\Metrics\Aggregation vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramAggregation.php @implements AggregationInterface<ExplicitBucketHistogramSummary> 1
ExplicitBucketHistogramSummary final class OpenTelemetry\SDK\Metrics\Aggregation vendor/open-telemetry/sdk/Metrics/Aggregation/ExplicitBucketHistogramSummary.php
ExplicitOctalEmulator class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php 1
Explode class Drupal\migrate\Plugin\migrate\process core/modules/migrate/src/Plugin/migrate/process/Explode.php Splits the source string into an array of strings, using a delimiter.
ExponentialHistogram class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogram.php ExponentialHistogram represents the type of a metric that is calculated by aggregating as a ExponentialHistogram of all reported double measurements over a time interval.
ExponentialHistogramDataPoint class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/ExponentialHistogramDataPoint.php ExponentialHistogramDataPoint is a single data point in a timeseries that describes the time-varying values of a ExponentialHistogram of double values. A ExponentialHistogram contains summary statistics for a population of values, it may optionally…
ExportAllDeclaration class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ExportAllDeclaration.php A node that represents an "export all" declaration. For example: export * from "test"
ExportDefaultDeclaration class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ExportDefaultDeclaration.php A node that represents the export default declaration. For example: export default a
Exporter class Symfony\Component\VarExporter\Internal vendor/symfony/var-exporter/Internal/Exporter.php @author Nicolas Grekas <p@tchwork.com> 1
Exporter final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/Exporter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 16
Exporter final class SebastianBergmann\Exporter vendor/sebastian/exporter/src/Exporter.php 11
ExporterFactory class OpenTelemetry\SDK\Logs vendor/open-telemetry/sdk/Logs/ExporterFactory.php
ExporterFactory class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/ExporterFactory.php 1
ExportForm class Drupal\locale\Form core/modules/locale/src/Form/ExportForm.php Form for the Gettext translation files export form. 1
ExportingReader final class OpenTelemetry\SDK\Metrics\MetricReader vendor/open-telemetry/sdk/Metrics/MetricReader/ExportingReader.php 1
ExportLogsPartialSuccess class Opentelemetry\Proto\Collector\Logs\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsPartialSuccess.php Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess</code>
ExportLogsServiceRequest class Opentelemetry\Proto\Collector\Logs\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceRequest.php Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest</code> 1
ExportLogsServiceResponse class Opentelemetry\Proto\Collector\Logs\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Logs/V1/ExportLogsServiceResponse.php Generated from protobuf message <code>opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse</code> 1
ExportMetricsPartialSuccess class Opentelemetry\Proto\Collector\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsPartialSuccess.php Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess</code>
ExportMetricsServiceRequest class Opentelemetry\Proto\Collector\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceRequest.php Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest</code> 1
ExportMetricsServiceResponse class Opentelemetry\Proto\Collector\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Metrics/V1/ExportMetricsServiceResponse.php Generated from protobuf message <code>opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse</code> 1
ExportNamedDeclaration class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ExportNamedDeclaration.php A node that represents an export named declaration. For example: export {foo} from "bar"
ExportSpecifier class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ExportSpecifier.php A node that represents a specifier in an export declaration. For example "{a}" in: export {a}
ExportStorageManager final class Drupal\Core\Config core/lib/Drupal/Core/Config/ExportStorageManager.php The export storage manager dispatches an event for the export storage.
ExportTracePartialSuccess class Opentelemetry\Proto\Collector\Trace\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTracePartialSuccess.php Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess</code>
ExportTraceServiceRequest class Opentelemetry\Proto\Collector\Trace\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceRequest.php Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest</code> 1
ExportTraceServiceResponse class Opentelemetry\Proto\Collector\Trace\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Collector/Trace/V1/ExportTraceServiceResponse.php Generated from protobuf message <code>opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse</code> 1
ExportUtil class Prophecy\Util vendor/phpspec/prophecy/src/Prophecy/Util/ExportUtil.php This class is a modification from sebastianbergmann/exporter
ExposedFormCache class Drupal\views core/modules/views/src/ExposedFormCache.php Caches exposed forms, as they are heavy to generate. 1 2
ExposedFormPluginBase abstract class Drupal\views\Plugin\views\exposed_form core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php Base class for Views exposed filter form plugins. 2
ExposedFormPluginInterface interface Drupal\views\Plugin\views\exposed_form core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php Interface for exposed filter form plugins. 1 1
Expr abstract class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/Expr.php 41 59
Expression class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Expression.php Validates a value using an expression from the Expression Language component.
Expression interface Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Expression.php Interface that every expression node must implement. 28 6
Expression class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Expression.php Represents statements of type "expr;"
Expression final class phpDocumentor\Reflection\Types vendor/phpdocumentor/type-resolver/src/Types/Expression.php Represents an expression type as described in the PSR-5, the PHPDoc Standard. 1
ExpressionEngineInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
ExpressionErrorException class Symfony\Component\CssSelector\Exception vendor/symfony/css-selector/Exception/ExpressionErrorException.php ParseException is thrown when a CSS selector syntax is not valid. 4
ExpressionLanguage class Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/ExpressionLanguage.php Adds some function to the default ExpressionLanguage. 3

Pagination

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