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
StackedSessionHandlerPass class Drupal\Core\DependencyInjection\Compiler core/lib/Drupal/Core/DependencyInjection/Compiler/StackedSessionHandlerPass.php Provides a compiler pass for stacked session save handlers. 1
StackItem final class Drupal\Core\Database\Transaction core/lib/Drupal/Core/Database/Transaction/StackItem.php A value object for items on the transaction stack.
StackTraceFormatter final class OpenTelemetry\SDK\Common\Exception vendor/open-telemetry/sdk/Common/Exception/StackTraceFormatter.php @psalm-type Frame = array{ function: string, class: ?class-string, file: ?string, line: ?int, } @psalm-type Frames = non-empty-list<Frame> 1
StageBase abstract class Drupal\package_manager core/modules/package_manager/src/StageBase.php Creates and manages a stage directory in which to install or update code. 7
StagedDBUpdateValidator class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Flags a warning if there are database updates in a staged update.
StageEvent abstract class Drupal\package_manager\Event core/modules/package_manager/src/Event/StageEvent.php Base class for all events related to the life cycle of the stage. 5 2
StageEventException class Drupal\package_manager\Exception core/modules/package_manager/src/Exception/StageEventException.php Exception thrown if an error related to an event occurs. 1
StageException class Drupal\package_manager\Exception core/modules/package_manager/src/Exception/StageException.php Base class for all exceptions related to stage operations. 3 1
StageFailureMarkerException final class Drupal\package_manager\Exception core/modules/package_manager/src/Exception/StageFailureMarkerException.php Exception thrown if a stage can't be created due to an earlier failed commit. 2
StageNotInActiveValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/StageNotInActiveValidator.php Validates staging root is not a subdirectory of active.
StageOwnershipException final class Drupal\package_manager\Exception core/modules/package_manager/src/Exception/StageOwnershipException.php Exception thrown if a stage encounters an ownership or locking error. 1
Stager final class PhpTuf\ComposerStager\Internal\Core vendor/php-tuf/composer-stager/src/Internal/Core/Stager.php @package Core 2
StagerInterface interface PhpTuf\ComposerStager\API\Core vendor/php-tuf/composer-stager/src/API/Core/StagerInterface.php Executes a Composer command in the staging directory. 2 4 1
StagerPreconditions final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/StagerPreconditions.php @package Precondition 2
StagerPreconditionsInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/StagerPreconditionsInterface.php Asserts the preconditions for the stager. 1 2
StagingDirDoesNotExist final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/StagingDirDoesNotExist.php @package Precondition 2
StagingDirDoesNotExistInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/StagingDirDoesNotExistInterface.php Asserts that the staging directory does not exist. 1 2
StagingDirExists final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/StagingDirExists.php @package Precondition 2
StagingDirExistsInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/StagingDirExistsInterface.php Asserts that the staging directory exists. 1 2
StagingDirIsReady final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/StagingDirIsReady.php @package Precondition 2
StagingDirIsReadyInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/StagingDirIsReadyInterface.php Asserts that the staging directory is ready for use. 1 4
StagingDirIsWritable final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/StagingDirIsWritable.php @package Precondition 2
StagingDirIsWritableInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/StagingDirIsWritableInterface.php Asserts that the staging directory is writable. 1 2
StagingExtension final class Twig\Extension vendor/twig/twig/src/Extension/StagingExtension.php Used by \Twig\Environment as a staging area. 1
StaleElementReference final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/StaleElementReference.php WebDriver\Exception\StaleElementReference class 1
StalenessHandlerFactoryInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/StalenessHandlerFactoryInterface.php 3 3
StalenessHandlerInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/StalenessHandlerInterface.php 3 9
Standard class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/Standard.php Default implementation of the base field plugin.
Standard class Drupal\views\Plugin\views\sort core/modules/views/src/Plugin/views/sort/Standard.php Default implementation of the base sort plugin.
Standard class Drupal\views\Plugin\views\wizard core/modules/views/src/Plugin/views/wizard/Standard.php Standard Views wizard plugin.
Standard class PhpParser\PrettyPrinter vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
Standard class Drupal\views\Plugin\views\join core/modules/views/src/Plugin/views/join/Standard.php Default implementation of the join plugin.
Standard class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/Standard.php Default implementation of the base filter plugin.
Standard class Drupal\editor\EditorXssFilter core/modules/editor/src/EditorXssFilter/Standard.php Defines the standard text editor XSS filter.
Standard class Drupal\views\Plugin\views\relationship core/modules/views/src/Plugin/views/relationship/Standard.php Default implementation of the base relationship plugin.
Standard class Drupal\views\Plugin\views\argument core/modules/views/src/Plugin/views/argument/Standard.php Default implementation of the base argument plugin.
Standards class PHP_CodeSniffer\Util vendor/squizlabs/php_codesniffer/src/Util/Standards.php 3
StandardTagFactory final class phpDocumentor\Reflection\DocBlock vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php Creates a Tag object given the contents of a tag. 2
StarbugInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php
Started final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/Started.php @psalm-immutable
Started final class PHPUnit\Event\Application vendor/phpunit/phpunit/src/Event/Events/Application/Started.php @psalm-immutable
Started final class PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Events/TestSuite/Started.php @psalm-immutable 8
StartedSubscriber interface PHPUnit\Event\Application vendor/phpunit/phpunit/src/Event/Events/Application/StartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
StartedSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/StartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
StartedSubscriber interface PHPUnit\Event\TestSuite vendor/phpunit/phpunit/src/Event/Events/TestSuite/StartedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 4 4
StarterKit final class Drupal\starterkit_theme core/themes/starterkit_theme/src/StarterKit.php
StarterKitInterface interface Drupal\Core\Theme core/lib/Drupal/Core/Theme/StarterKitInterface.php Allows starter kits to interact with theme generation. 1 2
StartsWithBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/StartsWithBinary.php 1
State class Drupal\Core\State core/lib/Drupal/Core/State/State.php Provides the state system using a key value store.
State class Drupal\workflows core/modules/workflows/src/State.php A value object representing a workflow state. 6

Pagination

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