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
StatusCheckEvent final class Drupal\package_manager\Event core/modules/package_manager/src/Event/StatusCheckEvent.php Event fired to check the status of the system to use Package Manager. 14
StatusCheckTrait trait Drupal\package_manager core/modules/package_manager/src/StatusCheckTrait.php Contains helper methods to run status checks on a stage.
StatusCode interface OpenTelemetry\API\Trace vendor/open-telemetry/api/Trace/StatusCode.php 1
StatusCode class Opentelemetry\Proto\Trace\V1\Status vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Status/StatusCode.php For the semantics of status codes see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status 1
StatusCommand class Composer\Command vendor/composer/composer/src/Composer/Command/StatusCommand.php @author Tiago Ribeiro <tiago.ribeiro@seegno.com> @author Rui Marinho <rui.marinho@seegno.com>
StatusData final class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/StatusData.php
StatusDataInterface interface OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/StatusDataInterface.php 1 1
StatusItem class Drupal\user core/modules/user/src/StatusItem.php Defines the 'status' entity field type. 2
StatusMessages class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/StatusMessages.php Provides a messages element.
StatusReport class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/StatusReport.php Creates status report page element. 1
StatusReportPage class Drupal\system\Element core/modules/system/src/Element/StatusReportPage.php Creates status report page element.
StickyNode class Drupal\node\Plugin\Action core/modules/node/src/Plugin/Action/StickyNode.php Makes a node sticky.
Stmt abstract class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/Stmt.php 8 31
StoppableEventInterface interface Psr\EventDispatcher vendor/psr/event-dispatcher/src/StoppableEventInterface.php An Event whose processing may be interrupted when the event has been handled. 1 4
StopProceduralHookScan class Drupal\Core\Hook\Attribute core/lib/Drupal/Core/Hook/Attribute/StopProceduralHookScan.php Defines a StopProceduralHookScan attribute object. 1
StopWatch interface PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/StopWatch.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
StorableConfigBase abstract class Drupal\Core\Config core/lib/Drupal/Core/Config/StorableConfigBase.php Provides a base class for configuration objects with storage support. 2 3
StorageBase abstract class Drupal\Core\KeyValueStore core/lib/Drupal/Core/KeyValueStore/StorageBase.php Provides a base class for key/value storage implementations. 2
StorageCacheInterface interface Drupal\Core\Config core/lib/Drupal/Core/Config/StorageCacheInterface.php Defines an interface for cached configuration storage. 1
StorageComparer class Drupal\Core\Config core/lib/Drupal/Core/Config/StorageComparer.php Defines a config storage comparer. 4
StorageComparerInterface interface Drupal\Core\Config core/lib/Drupal/Core/Config/StorageComparerInterface.php Defines an interface for comparison of configuration storage objects. 1
StorageCopyTrait trait Drupal\Core\Config core/lib/Drupal/Core/Config/StorageCopyTrait.php Utility trait to copy configuration from one storage to another.
StorageException class Drupal\Core\Config core/lib/Drupal/Core/Config/StorageException.php An exception thrown in case of storage operation errors. 1
StorageInterface interface Drupal\Core\Config core/lib/Drupal/Core/Config/StorageInterface.php Defines an interface for configuration storage. 12 28
StorageManagerInterface interface Drupal\Core\Config core/lib/Drupal/Core/Config/StorageManagerInterface.php Interface for a storage manager. 1
StorageReplaceDataWrapper class Drupal\config core/modules/config/src/StorageReplaceDataWrapper.php Wraps a configuration storage to allow replacing specific configuration data. 1
StorageTransformerException class Drupal\Core\Config core/lib/Drupal/Core/Config/StorageTransformerException.php Thrown by config storage transformers if they cannot acquire a lock.
StorageTransformEvent class Drupal\Core\Config core/lib/Drupal/Core/Config/StorageTransformEvent.php Class StorageTransformEvent. 1
Store class Symfony\Component\HttpKernel\HttpCache vendor/symfony/http-kernel/HttpCache/Store.php Store implements all the logic for storing cache metadata (Request and Response headers).
StoreFactory class Symfony\Component\Lock\Store vendor/symfony/lock/Store/StoreFactory.php StoreFactory create stores and connections.
StoreInterface interface Symfony\Component\HttpKernel\HttpCache vendor/symfony/http-kernel/HttpCache/StoreInterface.php Interface implemented by HTTP cache stores. 1
StrategyInterface interface Symfony\Component\Lock\Strategy vendor/symfony/lock/Strategy/StrategyInterface.php StrategyInterface defines an interface to indicate when a quorum is met and can be met. 2 1
StrategyUnavailableException class Http\Discovery\Exception vendor/php-http/discovery/src/Exception/StrategyUnavailableException.php This exception is thrown when we cannot use a discovery strategy. This is *not* thrown when the discovery fails to find a class. 1 2
Stream class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/Stream.php PHP stream implementation.
Stream class Symfony\Component\HttpFoundation\File vendor/symfony/http-foundation/File/Stream.php A PHP stream of unknown size.
StreamableInputInterface interface Symfony\Component\Console\Input vendor/symfony/console/Input/StreamableInputInterface.php StreamableInputInterface is the interface implemented by all input classes that have an input stream. 1 2
StreamCallback abstract class Revolt\EventLoop\Internal vendor/revolt/event-loop/src/EventLoop/Internal/StreamCallback.php @internal 2 3
StreamContextFactory final class Composer\Util vendor/composer/composer/src/Composer/Util/StreamContextFactory.php Allows the creation of a basic context supporting http proxy 2
StreamDecoratorTrait trait GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php Stream decorator trait
StreamedJsonResponse class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/StreamedJsonResponse.php StreamedJsonResponse represents a streamed HTTP response for JSON.
StreamedResponse class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/StreamedResponse.php StreamedResponse represents a streamed HTTP response. 1 5
StreamFactory final class OpenTelemetry\SDK\Metrics\MetricFactory vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php @internal 1
StreamFactoryDiscovery

This will be removed in 2.0. Consider using Psr17FactoryDiscovery.

final class Http\Discovery vendor/php-http/discovery/src/StreamFactoryDiscovery.php Finds a Stream Factory.
StreamFactoryInterface interface Psr\Http\Message vendor/psr/http-factory/src/StreamFactoryInterface.php 2 12
StreamHandler class GuzzleHttp\Handler vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php HTTP handler that uses PHP's HTTP stream wrapper. 1
StreamInterface interface Psr\Http\Message vendor/psr/http-message/src/StreamInterface.php Describes a data stream. 12 28
StreamLogWriter class OpenTelemetry\API\Behavior\Internal\LogWriter vendor/open-telemetry/api/Behavior/Internal/LogWriter/StreamLogWriter.php 1
StreamMetricSource final class OpenTelemetry\SDK\Metrics\MetricFactory vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSource.php @internal
StreamMetricSourceProvider final class OpenTelemetry\SDK\Metrics\MetricFactory vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamMetricSourceProvider.php @internal 1
StreamOutput class Symfony\Component\Console\Output vendor/symfony/console/Output/StreamOutput.php StreamOutput writes the output to a given stream. 2 2

Pagination

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