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
SumAggregation final class OpenTelemetry\SDK\Metrics\Aggregation vendor/open-telemetry/sdk/Metrics/Aggregation/SumAggregation.php @implements AggregationInterface<SumSummary>
Summary class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Summary.php Summary metric data are used to convey quantile summaries, a Prometheus (see: https://prometheus.io/docs/concepts/metric_types/#summary) and OpenMetrics (see:…
Summary class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Summary.php
SummaryDataPoint class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/SummaryDataPoint.php SummaryDataPoint is a single data point in a timeseries that describes the time-varying values of a Summary metric.
SummaryPrinter final class PHPUnit\TextUI\Output vendor/phpunit/phpunit/src/TextUI/Output/SummaryPrinter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SumSummary final class OpenTelemetry\SDK\Metrics\Aggregation vendor/open-telemetry/sdk/Metrics/Aggregation/SumSummary.php
Super class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Super.php A node that represents the "super" keyword.
SuperfluousAbstractClassNamingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/SuperfluousAbstractClassNamingSniff.php
SuperfluousErrorNamingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/SuperfluousErrorNamingSniff.php
SuperfluousExceptionNamingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/SuperfluousExceptionNamingSniff.php
SuperfluousInterfaceNamingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/SuperfluousInterfaceNamingSniff.php
SuperfluousTraitNamingSniff class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/SuperfluousTraitNamingSniff.php
SuperfluousWhitespaceSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php
SuperUserAccessPolicy final class Drupal\Core\Session core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php Grants user 1 an all access pass.
SuperUserAccessPolicyPass class Drupal\Core\DependencyInjection\Compiler core/lib/Drupal/Core/DependencyInjection/Compiler/SuperUserAccessPolicyPass.php Removes the super user access policy when toggled off. 1
SupportedReleaseValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/SupportedReleaseValidator.php Validates that updated projects are secure and supported.
SupportsTemporaryTablesInterface interface Drupal\Core\Database core/lib/Drupal/Core/Database/SupportsTemporaryTablesInterface.php Adds support for temporary tables. 3 3
SuppressHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/SuppressHelper.php @internal 7
SurrogateInterface interface Symfony\Component\HttpKernel\HttpCache vendor/symfony/http-kernel/HttpCache/SurrogateInterface.php 1 2
SurrogateListener class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/SurrogateListener.php SurrogateListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for Surrogates.
SuspendQueueException class Drupal\Core\Queue core/lib/Drupal/Core/Queue/SuspendQueueException.php Exception class to throw to indicate that a cron queue should be skipped. 1
Suspension interface Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/Suspension.php Should be used to run and suspend the event loop instead of directly interacting with fibers. 1 4
SuspiciousOperationException class Symfony\Component\HttpFoundation\Exception vendor/symfony/http-foundation/Exception/SuspiciousOperationException.php Raised when a user has performed an operation that should be considered suspicious from a security perspective. 2
SvgExtractor class Drupal\Core\Theme\Plugin\IconExtractor core/lib/Drupal/Core/Theme/Plugin/IconExtractor/SvgExtractor.php Plugin implementation of the icon_extractor.
SvgIconBuilder class Drupal\Core\Layout\Icon core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php Builds SVG layout icons. 2
SvgSpriteExtractor class Drupal\Core\Theme\Plugin\IconExtractor core/lib/Drupal/Core/Theme/Plugin/IconExtractor/SvgSpriteExtractor.php Plugin implementation of the icon_extractor.
Svn class Composer\Util vendor/composer/composer/src/Composer/Util/Svn.php @author Till Klampaeckel <till@php.net> @author Jordi Boggiano <j.boggiano@seld.be> 3
Svnblame class PHP_CodeSniffer\Reports vendor/squizlabs/php_codesniffer/src/Reports/Svnblame.php
SvnDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php @author Ben Bieker <mail@ben-bieker.de> @author Till Klampaeckel <till@php.net>
SvnDriver class Composer\Repository\Vcs vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php @author Jordi Boggiano <j.boggiano@seld.be> @author Till Klampaeckel <till@php.net>
SwitchCase class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/SwitchCase.php A node that represents a case in a switch statement.
SwitchDeclarationSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\ControlStructures vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php
SwitchDeclarationSniff class PHP_CodeSniffer\Standards\PSR2\Sniffs\ControlStructures vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php
SwitchShortcutSet class Drupal\shortcut\Form core/modules/shortcut/src/Form/SwitchShortcutSet.php Builds the shortcut set switch form. 1
SwitchStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/SwitchStatement.php A node that represents a switch statement. For example: switch (test) {}
SwitchToLiveForm class Drupal\workspaces\Form core/modules/workspaces/src/Form/SwitchToLiveForm.php Provides a form that switches to the live version of the site. 1
Switch_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Switch_.php
SyDESInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
SyliusInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php
Symfony class OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery vendor/open-telemetry/sdk/Common/Http/Psr/Client/Discovery/Symfony.php 1
SymfonyCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/SymfonyCaster.php @final
SymfonyCmfRouteObjectInterfaceConstantsRule final class mglaman\PHPStanDrupal\Rules\Deprecations vendor/mglaman/phpstan-drupal/src/Rules/Deprecations/SymfonyCmfRouteObjectInterfaceConstantsRule.php @implements Rule<Node\Expr\ClassConstFetch>
SymfonyCmfRoutingInClassMethodSignatureRule final class mglaman\PHPStanDrupal\Rules\Deprecations vendor/mglaman/phpstan-drupal/src/Rules/Deprecations/SymfonyCmfRoutingInClassMethodSignatureRule.php @implements Rule<InClassMethodNode>
SymfonyMailer class Drupal\Core\Mail\Plugin\Mail core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php Defines an experimental mail backend, based on the Symfony mailer component.
SymfonyProcessFactory final class PhpTuf\ComposerStager\Internal\Process\Factory vendor/php-tuf/composer-stager/src/Internal/Process/Factory/SymfonyProcessFactory.php @package Process 2
SymfonyProcessFactoryInterface interface PhpTuf\ComposerStager\Internal\Process\Factory vendor/php-tuf/composer-stager/src/Internal/Process/Factory/SymfonyProcessFactoryInterface.php Creates Symfony Process objects. 1 1
SymfonyQuestionHelper class Symfony\Component\Console\Helper vendor/symfony/console/Helper/SymfonyQuestionHelper.php Symfony Style Guide compliant question helper. 1
SymfonyStyle class Symfony\Component\Console\Style vendor/symfony/console/Style/SymfonyStyle.php Output decorator helpers for the Symfony Style Guide. 14
SymfonyTranslatorProxy final class PhpTuf\ComposerStager\Internal\Translation\Service vendor/php-tuf/composer-stager/src/Internal/Translation/Service/SymfonyTranslatorProxy.php @package Translation 2
SymfonyTranslatorProxyInterface interface PhpTuf\ComposerStager\Internal\Translation\Service vendor/php-tuf/composer-stager/src/Internal/Translation/Service/SymfonyTranslatorProxyInterface.php Provides a thin wrapper around Symfony's default translator implementation. 1

Pagination

  • First page
  • Previous page
  • …
  • Page 178
  • Page 179
  • Page 180
  • Page 181
  • Page 182
  • Page 183
  • Page 184
  • Page 185
  • Page 186
  • …
  • 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