Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
Primary tabs
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 |
---|---|---|---|---|---|---|---|---|
SimpleType | final class | SebastianBergmann\Type | vendor/ |
|||||
Since | final class | phpDocumentor\Reflection\DocBlock\Tags | vendor/ |
Reflection class for a {since tag in a Docblock. | 1 | |||
SingleCommandApplication | class | Symfony\Component\Console | vendor/ |
@author Grégoire Pineau <lyrixx@lyrixx.info> | ||||
SingleFlushStrategy | class | Drupal\Core\Render\Placeholder | core/ |
Defines the 'single_flush' placeholder strategy. | ||||
SingleLineArrayWhitespaceSniff | class | SlevomatCodingStandard\Sniffs\Arrays | vendor/ |
|||||
SiteCacheContext | class | Drupal\Core\Cache\Context | core/ |
Defines the SiteCacheContext service, for "per site" caching. | ||||
SiteConfigurationExcluder | class | Drupal\package_manager\PathExcluder | core/ |
Excludes site configuration files from stage directories. | ||||
SiteConfigureForm | class | Drupal\Core\Installer\Form | core/ |
Provides the site configuration form. | ||||
SiteDirectInstaller | class | Composer\Installers | vendor/ |
|||||
SiteFilesExcluder | final class | Drupal\package_manager\PathExcluder | core/ |
Excludes site files from stage operations. | ||||
SiteInformationForm | class | Drupal\system\Form | core/ |
Configure site information settings for this site. | 1 | |||
SiteMaintenanceModeForm | class | Drupal\system\Form | core/ |
Configure maintenance settings for this site. | 1 | |||
SiteSettingsForm | class | Drupal\Core\Installer\Form | core/ |
Provides a form to configure and rewrite settings.php. | 1 | |||
SizeRangeFilterIterator | class | Symfony\Component\Finder\Iterator | vendor/ |
SizeRangeFilterIterator filters out files that are not in the given size range. | 1 | |||
SkipOnEmpty | class | Drupal\migrate\Plugin\migrate\process | core/ |
Skips processing the current row when the input value is empty. | ||||
SkipOp | class | Drupal\Composer\Plugin\Scaffold\Operations | composer/ |
Scaffold operation to skip a scaffold file (do nothing). | ||||
Skipped | final class | PHPUnit\Framework\TestStatus | vendor/ |
@psalm-immutable | ||||
Skipped | final class | PHPUnit\Event\Test | vendor/ |
@psalm-immutable | 12 | |||
Skipped | final class | PHPUnit\Event\TestSuite | vendor/ |
@psalm-immutable | 4 | |||
SkippedSubscriber | interface | PHPUnit\Event\Test | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 6 | 6 | ||
SkippedSubscriber | interface | PHPUnit\Event\TestSuite | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | 1 | ||
SkippedTest | interface | PHPUnit\Framework | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
SkippedTestSuiteError | final class | PHPUnit\Framework | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
SkippedWithMessageException | final class | PHPUnit\Framework | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
SkipRowIfNotSet | class | Drupal\migrate\Plugin\migrate\process | core/ |
Skips processing the current row when a source value is not set. | ||||
SluggerInterface | interface | Symfony\Component\String\Slugger | vendor/ |
Creates a URL-friendly slug from a given string. | 1 | |||
Small | final class | SebastianBergmann\CodeCoverage\Test\TestSize | vendor/ |
@psalm-immutable | ||||
Small | final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 1 | |||
Small | final class | PHPUnit\Framework\TestSize | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
Smaller | class | PhpParser\Node\Expr\BinaryOp | vendor/ |
|||||
SmallerOrEqual | class | PhpParser\Node\Expr\BinaryOp | vendor/ |
|||||
SmartDefaultSettings | final class | Drupal\ckeditor5 | core/ |
Generates CKEditor 5 settings for existing text editors/formats. | 1 | 2 | ||
SMFInstaller | class | Composer\Installers | vendor/ |
|||||
SMime | abstract class | Symfony\Component\Mime\Crypto | vendor/ |
@author Sebastiaan Stok <s.stok@rollerscapes.net> | 2 | |||
SMimeEncrypter | final class | Symfony\Component\Mime\Crypto | vendor/ |
@author Sebastiaan Stok <s.stok@rollerscapes.net> | ||||
SMimePart | class | Symfony\Component\Mime\Part | vendor/ |
@author Sebastiaan Stok <s.stok@rollerscapes.net> | 1 | |||
SMimeSigner | final class | Symfony\Component\Mime\Crypto | vendor/ |
@author Sebastiaan Stok <s.stok@rollerscapes.net> | ||||
SmtpTransport | class | Symfony\Component\Mailer\Transport\Smtp | vendor/ |
Sends emails over SMTP. | 1 | 2 | ||
SnakeCaseToCamelCaseNameConverter | final class | Symfony\Component\Serializer\NameConverter | vendor/ |
Underscore to camelCase name converter. | ||||
Snapshot | class | SebastianBergmann\GlobalState | vendor/ |
A snapshot of global state. | 2 | |||
Snapshot | final class | PHPUnit\Event\Telemetry | vendor/ |
@psalm-immutable | ||||
SnapshotNodeList | final class | PHPUnit\TextUI\XmlConfiguration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
Sniff | interface | PHP_CodeSniffer\Sniffs | vendor/ |
450 | 448 | |||
SniffLocalCache | final class | SlevomatCodingStandard\Helpers | vendor/ |
@internal | ||||
SniffSettingsHelper | class | SlevomatCodingStandard\Helpers | vendor/ |
@internal | 61 | |||
SoapExtensionNotAvailableException | final class | PHPUnit\Framework\MockObject\Generator | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
SocketStream | final class | Symfony\Component\Mailer\Transport\Smtp\Stream | vendor/ |
A stream supporting remote sockets. | 4 | |||
Solver | class | Composer\DependencyResolver | vendor/ |
@author Nils Adermann <naderman@naderman.de> | 1 | |||
SolverBugException | class | Composer\DependencyResolver | vendor/ |
@author Nils Adermann <naderman@naderman.de> | ||||
SolverOperation | abstract class | Composer\DependencyResolver\Operation | vendor/ |
Abstract operation class. | 5 |