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
SolverProblemsException class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php @author Nils Adermann <naderman@naderman.de> 1
Some class Drupal\views\Plugin\views\pager core/modules/views/src/Plugin/views/pager/Some.php Plugin for views without pagers.
Sort class Drupal\jsonapi\Query core/modules/jsonapi/src/Query/Sort.php Gathers information about the sort parameter. 1
SortableIterator class Symfony\Component\Finder\Iterator vendor/symfony/finder/Iterator/SortableIterator.php SortableIterator applies a sort on a given Iterator. 1
SortArray class Drupal\Component\Utility core/lib/Drupal/Component/Utility/SortArray.php Provides generic array sorting helper methods. 9
Sorted final class PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Events/TestSuite/Sorted.php @psalm-immutable 1
SortedSubscriber interface PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Events/TestSuite/SortedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SortPluginBase abstract class Drupal\views\Plugin\views\sort core/modules/views/src/Plugin/views/sort/SortPluginBase.php Base sort handler that has no options and performs a simple sort. 9 4
Source final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Source.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 8
Source class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Source.php
Source final class SebastianBergmann\CodeCoverage\Report\Xml vendor/phpunit/php-code-coverage/src/Report/Xml/Source.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Source final class Twig vendor/twig/twig/src/Source.php Holds information about a non-compiled Twig template. 15
Source final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php Reflection class for a {source tag in a Docblock. 1
SourceCodeInfo class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/SourceCodeInfo.php Encapsulates information about the original source file from which a FileDescriptorProto was generated.
SourceContext class GPBMetadata\Google\Protobuf vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/SourceContext.php
SourceContext class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/SourceContext.php `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
SourceContextProvider final class Symfony\Component\VarDumper\Dumper\ContextProvider vendor/symfony/var-dumper/Dumper/ContextProvider/SourceContextProvider.php Tries to provide context from sources (class name, file, line, code excerpt, ...). 3
SourceEditing class Drupal\ckeditor5\Plugin\CKEditor5Plugin core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/SourceEditing.php CKEditor 5 Source Editing plugin configuration. 1
SourceEditingPreventSelfXssConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraint.php For disallowing Source Editing configuration that allows self-XSS.
SourceEditingPreventSelfXssConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraintValidator.php Ensures Source Editing cannot be configured to allow self-XSS.
SourceEditingRedundantTagsConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraint.php For disallowing Source Editing elements already supported by a plugin.
SourceEditingRedundantTagsConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Ensures tags already available via plugin are not be added to Source Editing.
SourceFilter final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/SourceFilter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 4
SourceLocation class Peast\Syntax vendor/mck89/peast/lib/Peast/Syntax/SourceLocation.php This class represents a location in the source code with start and end position. 1
SourceMapper final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/SourceMapper.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SourcePluginBase abstract class Drupal\migrate\Plugin\migrate\source core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php The base class for source plugins. 4 2
SourcePolicyInterface interface Twig\Sandbox vendor/twig/twig/src/Sandbox/SourcePolicyInterface.php Interface for a class that can optionally enable the sandbox mode based on a template's Twig\Source. 1
SourceString class Drupal\locale core/modules/locale/src/SourceString.php Defines the locale source string object. 1
SpaceAfterCastSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php
SpaceAfterNotSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php
SpaceBeforeCastSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php
SpaceInlineIfSniff class Drupal\Sniffs\Formatting vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Formatting/SpaceInlineIfSniff.php Checks that there is no space between "?" and ":" inline if/else statements.
Spaceship class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Spaceship.php
SpaceshipBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/SpaceshipBinary.php 1
SpaceUnaryOperatorSniff class Drupal\Sniffs\Formatting vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Formatting/SpaceUnaryOperatorSniff.php \PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting\SpaceUnaryOperatorSniff.
Span final class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/Span.php 4
Span class Opentelemetry\Proto\Trace\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span.php A Span represents a single operation performed by a single component of the system. The next available field id is 17. 1
Span abstract class OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/Span.php 1 6
SpanAttribute final class OpenTelemetry\API\Instrumentation vendor/open-telemetry/api/Instrumentation/SpanAttribute.php For function and methods that have the {@link WithSpan} attribute, adding this attribute to an argument will add the argument as a span attribute.
SpanBuilder final class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/SpanBuilder.php
SpanBuilderInterface interface OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/SpanBuilderInterface.php Obtained from a { 1
SpanContext final class OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/SpanContext.php 1
SpanContextInterface interface OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/SpanContextInterface.php 1 6
SpanContextValidator class OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/SpanContextValidator.php 2
SpanConverter final class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/SpanConverter.php
SpanConverterInterface interface OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/SpanConverterInterface.php 2 6
SpanDataInterface interface OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/SpanDataInterface.php Represents an immutable snapshot of a { 1 6
SpanExporter final class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/SpanExporter.php @psalm-import-type SUPPORTED_CONTENT_TYPES from ProtobufSerializer
SpanExporterDecoratorTrait trait OpenTelemetry\SDK\Trace\Behavior vendor/open-telemetry/sdk/Trace/Behavior/SpanExporterDecoratorTrait.php 2
SpanExporterFactory class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/SpanExporterFactory.php

Pagination

  • First page
  • Previous page
  • …
  • Page 171
  • Page 172
  • Page 173
  • Page 174
  • Page 175
  • Page 176
  • Page 177
  • Page 178
  • Page 179
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal