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
StreamReadableCallback final class Revolt\EventLoop\Internal vendor/revolt/event-loop/src/EventLoop/Internal/StreamReadableCallback.php @internal 4
StreamSelectDriver final class Revolt\EventLoop\Driver vendor/revolt/event-loop/src/EventLoop/Driver/StreamSelectDriver.php 1
StreamTransport final class OpenTelemetry\SDK\Common\Export\Stream vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransport.php @internal
StreamTransportFactory final class OpenTelemetry\SDK\Common\Export\Stream vendor/open-telemetry/sdk/Common/Export/Stream/StreamTransportFactory.php @psalm-internal \OpenTelemetry
StreamWrapper final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/StreamWrapper.php Converts Guzzle streams into PHP stream resources.
StreamWrapperInterface interface Drupal\Core\StreamWrapper core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php Defines a Drupal stream wrapper extension. 2 9
StreamWrapperManager class Drupal\Core\StreamWrapper core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php Provides a StreamWrapper manager. 15
StreamWrapperManagerInterface interface Drupal\Core\StreamWrapper core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php Provides a StreamWrapper manager. 1 17
StreamWritableCallback final class Revolt\EventLoop\Internal vendor/revolt/event-loop/src/EventLoop/Internal/StreamWritableCallback.php @internal 4
StrictCallSniff class SlevomatCodingStandard\Sniffs\Functions vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Functions/StrictCallSniff.php
StrictConfirmationQuestion class Composer\Question vendor/composer/composer/src/Composer/Question/StrictConfirmationQuestion.php Represents a yes/no question Enforces strict responses rather than non-standard answers counting as default Based on Symfony\Component\Console\Question\ConfirmationQuestion 1
StrictSchemaDisabledSniff class DrupalPractice\Sniffs\Objects vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/Objects/StrictSchemaDisabledSniff.php Checks that $strictConfigSchema is not set to FALSE in test classes.
StrictSessionHandler class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php Adds basic `SessionUpdateTimestampHandlerInterface` behaviors to another `SessionHandlerInterface`. 2
StrictTypeCheck class JsonSchema\Constraints\TypeCheck vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php
StrictUnifiedDiffOutputBuilder final class SebastianBergmann\Diff\Output vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php Strict Unified diff output builder.
StringArgument class Drupal\views\Plugin\views\argument core/modules/views/src/Plugin/views/argument/StringArgument.php Argument handler for string. 2 2
StringBase abstract class Drupal\locale core/modules/locale/src/StringBase.php Defines the locale string base class. 2
StringBasedFileContent class org\bovigo\vfs\content vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/content/StringBasedFileContent.php Default implementation for file contents based on simple strings. 1
StringCastUnary final class Twig\Node\Expression\Unary vendor/twig/twig/src/Node/Expression/Unary/StringCastUnary.php 1
StringCodec class Ramsey\Uuid\Codec vendor/ramsey/uuid/src/Codec/StringCodec.php StringCodec encodes and decodes RFC 4122 UUIDs 4 1
StringConstraint class JsonSchema\Constraints vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/StringConstraint.php The StringConstraint Constraints, validates an string against a given schema
StringContains final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/String/StringContains.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
StringContainsToken class Prophecy\Argument\Token vendor/phpspec/prophecy/src/Prophecy/Argument/Token/StringContainsToken.php String contains token.
StringData class Drupal\Core\TypedData\Plugin\DataType core/lib/Drupal/Core/TypedData/Plugin/DataType/StringData.php The string data type. 6 1 1
StringDatabaseStorage class Drupal\locale core/modules/locale/src/StringDatabaseStorage.php Defines a class to store localized strings in the database. 2
StringEndsWith final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/String/StringEndsWith.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
StringEqualsStringIgnoringLineEndings final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/String/StringEqualsStringIgnoringLineEndings.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
StringFilter class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/StringFilter.php Basic textfield filter to handle string filtering commands. 1
StringFormatter class Drupal\Core\Field\Plugin\Field\FieldFormatter core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Plugin implementation of the 'string' formatter. 2 1
StringHandler class Symfony\Component\CssSelector\Parser\Handler vendor/symfony/css-selector/Parser/Handler/StringHandler.php CSS selector comment handler.
StringHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/StringHelper.php @internal 9
StringInput class Symfony\Component\Console\Input vendor/symfony/console/Input/StringInput.php StringInput represents an input provided as a string. 4
StringInputStream

since 2.4, to remove in 3.0. Use a string in the scanner instead.

class Masterminds\HTML5\Parser vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php 1
StringInterface interface Drupal\locale core/modules/locale/src/StringInterface.php Defines the locale string interface. 1
StringInterface interface Drupal\Core\TypedData\Type core/lib/Drupal/Core/TypedData/Type/StringInterface.php Interface for strings. 2 4
StringItem class Drupal\Core\Field\Plugin\Field\FieldType core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php Defines the 'string' entity field type. 5 2
StringItemBase abstract class Drupal\Core\Field\Plugin\Field\FieldType core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php Base class for string field types. 2
StringKeyValue class Opentelemetry\Proto\Common\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/StringKeyValue.php StringKeyValue is a pair of key/value strings. This is the simpler (and faster) version of KeyValue that only supports string values.
StringListField class Drupal\options\Plugin\views\argument core/modules/options/src/Plugin/views/argument/StringListField.php Argument handler for list field to show the human readable name in summary.
StringLiteral class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/StringLiteral.php A node that represents a string literal.
StringLoader class Drupal\Core\Template\Loader core/lib/Drupal/Core/Template/Loader/StringLoader.php Loads string templates, also known as inline templates.
StringLoaderExtension final class Twig\Extension vendor/twig/twig/src/Extension/StringLoaderExtension.php 1
StringLongItem class Drupal\Core\Field\Plugin\Field\FieldType core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringLongItem.php Defines the 'string_long' field type.
StringMatchesFormatDescription final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/String/StringMatchesFormatDescription.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
StringStartsWith final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/String/StringStartsWith.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
StringStorageException class Drupal\locale core/modules/locale/src/StringStorageException.php Defines an exception thrown when storage operations fail.
StringStorageInterface interface Drupal\locale core/modules/locale/src/StringStorageInterface.php Defines the locale string storage interface. 1 1
StringTextareaWidget class Drupal\Core\Field\Plugin\Field\FieldWidget core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Plugin implementation of the 'string_textarea' widget. 1 1
StringTextfieldWidget class Drupal\Core\Field\Plugin\Field\FieldWidget core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Plugin implementation of the 'string_textfield' widget. 2 2
StringTranslationTrait trait Drupal\Core\StringTranslation core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface. 170

Pagination

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