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
StringUnescaper class PHPStan\PhpDocParser\Parser vendor/phpstan/phpdoc-parser/src/Parser/StringUnescaper.php
StringUtil class Prophecy\Util vendor/phpspec/prophecy/src/Prophecy/Util/StringUtil.php String utility. 8
StringValue class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/StringValue.php @psalm-immutable 1
StringValue class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/StringValue.php Wrapper message for `string`. The JSON representation for `StringValue` is JSON string.
String_ class PhpParser\Node\Expr\Cast vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php
String_ class phpDocumentor\Reflection\Types vendor/phpdocumentor/type-resolver/src/Types/String_.php Value Object representing the type 'string'. 9 10
String_ class PhpParser\Node\Scalar vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php 5
Struct class GPBMetadata\Google\Protobuf vendor/google/protobuf/src/GPBMetadata/Google/Protobuf/Struct.php
Struct class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/Struct.php `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as… 1
Stub interface PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/Stub.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 8 4
Stub interface PHPUnit\Framework\MockObject\Builder vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Builder/Stub.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Stub interface PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Interface/Stub.php @method InvocationStubber method($constraint) 2 4
Stub class Symfony\Component\VarDumper\Cloner vendor/symfony/var-dumper/Cloner/Stub.php Represents the main properties of a PHP variable. 6 40
StubApi trait PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Api/StubApi.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
StubCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/StubCaster.php Casts a caster's Stub.
StubInternal interface PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Interface/StubInternal.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 1
Style class Drupal\ckeditor5\Plugin\CKEditor5Plugin core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Style.php CKEditor 5 Style plugin configuration. 1 1
StyleInterface interface Symfony\Component\Console\Style vendor/symfony/console/Style/StyleInterface.php Output style helpers. 1 1
StylePluginBase abstract class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/StylePluginBase.php Base class for views style plugins. 11 1 1
StyleSensibleElementConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraint.php Styles can only be specified for HTML5 tags and extra classes.
StyleSensibleElementConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/StyleSensibleElementConstraintValidator.php Styles can only be specified for HTML5 tags and extra classes.
SubBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/SubBinary.php 1
SubformState class Drupal\Core\Form core/lib/Drupal/Core/Form/SubformState.php Stores information about the state of a subform. 17
SubformStateInterface interface Drupal\Core\Form core/lib/Drupal/Core/Form/SubformStateInterface.php Stores information about the state of a subform. 1 3
Submit class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Submit.php Provides a form submit button. 1
SubProcess class Drupal\migrate\Plugin\migrate\process core/modules/migrate/src/Plugin/migrate/process/SubProcess.php Runs an array of arrays through its own process pipeline.
Subquery class Drupal\views\Plugin\views\join core/modules/views/src/Plugin/views/join/Subquery.php Join handler for relationships that join with a subquery as the left field.
SubRequestHandler class Symfony\Component\HttpKernel\HttpCache vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php @author Nicolas Grekas <p@tchwork.com> 1
SubscribableDispatcher interface PHPUnit\Event vendor/phpunit/phpunit/src/Event/Dispatcher/SubscribableDispatcher.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
SubscribedService final class Symfony\Contracts\Service\Attribute vendor/symfony/service-contracts/Attribute/SubscribedService.php For use as the return value for { @example new SubscribedService('http_client', HttpClientInterface::class, false, new Target('githubApi')) 5
Subscriber abstract class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 24
Subscriber abstract class PHPUnit\Logging\TestDox vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 17
Subscriber interface PHPUnit\Event vendor/phpunit/phpunit/src/Event/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 71 72
Subscriber abstract class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 9
Subscriber abstract class PHPUnit\Runner\GarbageCollection vendor/phpunit/phpunit/src/Runner/GarbageCollection/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
Subscriber abstract class PHPUnit\Logging\JUnit vendor/phpunit/phpunit/src/Logging/JUnit/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 11
Subscriber abstract class PHPUnit\TextUI\Output\Default\ProgressPrinter vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 18
Subscriber abstract class PHPUnit\Runner\Baseline vendor/phpunit/phpunit/src/Runner/Baseline/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 6
Subscriber abstract class PHPUnit\Logging\TeamCity vendor/phpunit/phpunit/src/Logging/TeamCity/Subscriber/Subscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 10
SubscriberTypeAlreadyRegisteredException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/SubscriberTypeAlreadyRegisteredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Substr class Drupal\migrate\Plugin\migrate\process core/modules/migrate/src/Plugin/migrate/process/Substr.php Returns a substring of the input value.
SubversionPropertiesSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\VersionControl vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php
Success final class PHPUnit\Framework\TestStatus vendor/phpunit/phpunit/src/Framework/TestStatus/Success.php @psalm-immutable
Success final class SebastianBergmann\CodeCoverage\Test\TestStatus vendor/phpunit/php-code-coverage/src/TestStatus/Success.php @psalm-immutable
SuccessfulSchemaDetectionResult final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaDetector/SuccessfulSchemaDetectionResult.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SuggestedPackagesReporter class Composer\Installer vendor/composer/composer/src/Composer/Installer/SuggestedPackagesReporter.php Add suggested packages from different places to output them in the end. 3
Suggestion class Symfony\Component\Console\Completion vendor/symfony/console/Completion/Suggestion.php Represents a single suggested value. 7
SuggestsCommand class Composer\Command vendor/composer/composer/src/Composer/Command/SuggestsCommand.php
Sum final class OpenTelemetry\SDK\Metrics\Data vendor/open-telemetry/sdk/Metrics/Data/Sum.php
Sum class Opentelemetry\Proto\Metrics\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php Sum represents the type of a scalar metric that is calculated as a sum of all reported measurements over a time interval. 1

Pagination

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