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
SessionExistsCacheContext class Drupal\Core\Cache\Context core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Defines the SessionExistsCacheContext service, for "session or not" caching.
SessionFactory class Symfony\Component\HttpFoundation\Session vendor/symfony/http-foundation/Session/SessionFactory.php @author Jérémy Derussé <jeremy@derusse.com>
SessionFactoryInterface interface Symfony\Component\HttpFoundation\Session vendor/symfony/http-foundation/Session/SessionFactoryInterface.php @author Kevin Bond <kevinbond@gmail.com> 1
SessionHandler class Drupal\Core\Session core/lib/Drupal/Core/Session/SessionHandler.php Default session handler.
SessionHandlerFactory class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/SessionHandlerFactory.php @author Nicolas Grekas <p@tchwork.com>
SessionHandlerProxy class Symfony\Component\HttpFoundation\Session\Storage\Proxy vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php @author Drak <drak@zikula.org> 1
SessionInterface interface Symfony\Component\HttpFoundation\Session vendor/symfony/http-foundation/Session/SessionInterface.php Interface for the session. 1 11
SessionListener class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/SessionListener.php Sets the session in the request.
SessionManager class Drupal\Core\Session core/lib/Drupal/Core/Session/SessionManager.php Manages user sessions.
SessionManagerInterface interface Drupal\Core\Session core/lib/Drupal/Core/Session/SessionManagerInterface.php Defines the session manager interface. 1
SessionNotCreated final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/SessionNotCreated.php WebDriver\Exception\SessionNotCreated class
SessionNotFoundException class Symfony\Component\HttpFoundation\Exception vendor/symfony/http-foundation/Exception/SessionNotFoundException.php Raised when a session does not exist. This happens in the following cases: 2
SessionStorageFactoryInterface interface Symfony\Component\HttpFoundation\Session\Storage vendor/symfony/http-foundation/Session/Storage/SessionStorageFactoryInterface.php @author Jérémy Derussé <jeremy@derusse.com> 3 1
SessionStorageInterface interface Symfony\Component\HttpFoundation\Session\Storage vendor/symfony/http-foundation/Session/Storage/SessionStorageInterface.php StorageInterface. 3 2
SessionUtils final class Symfony\Component\HttpFoundation\Session vendor/symfony/http-foundation/Session/SessionUtils.php Session utility functions. 2
SessionValueResolver final class Symfony\Component\HttpKernel\Controller\ArgumentResolver vendor/symfony/http-kernel/Controller/ArgumentResolver/SessionValueResolver.php Yields the Session. 1
SessionWorkspaceNegotiator class Drupal\workspaces\Negotiator core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Defines the session workspace negotiator. 1 2
Set class Ramsey\Collection vendor/ramsey/collection/src/Set.php A set is a collection that contains no duplicate elements.
SetCookie class GuzzleHttp\Cookie vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php Set-Cookie object
SetCustomize class Drupal\shortcut\Form core/modules/shortcut/src/Form/SetCustomize.php Builds the shortcut set customize form. 1
SetDialogOptionCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php Defines an AJAX command that sets jQuery UI dialog properties. 1
SetDialogTitleCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php Defines an AJAX command that sets jQuery UI dialog properties.
SetFormCommand class Drupal\views_ui\Ajax core/modules/views_ui/src/Ajax/SetFormCommand.php Provides an AJAX command for setting a form submit URL in modal forms. 1
SetInlineBlockDependency class Drupal\layout_builder\EventSubscriber core/modules/layout_builder/src/EventSubscriber/SetInlineBlockDependency.php An event subscriber that returns an access dependency for inline blocks. 1
SetNode class Twig\Node vendor/twig/twig/src/Node/SetNode.php Represents a set node. 3
SetNullFilter class DeepCopy\Filter vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php @final
SetSubtreesCommand class Drupal\toolbar\Ajax core/modules/toolbar/src/Ajax/SetSubtreesCommand.php Defines an AJAX command that sets the toolbar subtrees. 1
Settings final class Drupal\Core\Site core/lib/Drupal/Core/Site/Settings.php Read only settings that are initialized with the class. 84
SettingsCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/SettingsCommand.php AJAX command for adjusting Drupal's JavaScript settings.
SettingsEditor final class Drupal\Core\Site core/lib/Drupal/Core/Site/SettingsEditor.php Generates settings.php files for Drupal installations. 2
SettingsForm class Drupal\media_library\Form core/modules/media_library/src/Form/SettingsForm.php Defines a form for configuring the Media Library module. 1
SettingsForm final class Drupal\navigation\Form core/modules/navigation/src/Form/SettingsForm.php Configure Navigation settings for this site. 1
SettingsTrayHooks class Drupal\settings_tray\Hook core/modules/settings_tray/src/Hook/SettingsTrayHooks.php Hook implementations for settings_tray.
SettingsValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/SettingsValidator.php Checks that Drupal's settings are valid for Package Manager.
SetTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/SetTokenParser.php Defines a variable. 1
SeverityNumber class Opentelemetry\Proto\Logs\V1 vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Logs/V1/SeverityNumber.php Possible values for LogRecord.SeverityNumber.
Shadow

by W3C WebDriver

class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/Shadow.php WebDriver\Shadow class
ShallowCopyFilter class DeepCopy\TypeFilter vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php @final
ShapeItem abstract class phpDocumentor\Reflection\PseudoTypes vendor/phpdocumentor/type-resolver/src/PseudoTypes/ShapeItem.php 2
SharedLockInterface interface Symfony\Component\Lock vendor/symfony/lock/SharedLockInterface.php SharedLockInterface defines an interface to manipulate the status of a shared lock. 2
SharedLockStoreInterface interface Symfony\Component\Lock vendor/symfony/lock/SharedLockStoreInterface.php @author Jérémy Derussé <jeremy@derusse.com> 5 6
SharedTempStore class Drupal\Core\TempStore core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores and retrieves temporary data for a given owner. 1
SharedTempStoreFactory class Drupal\Core\TempStore core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php Creates a shared temporary storage for a collection. 7
ShareTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php
ShellExec class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php
ShellExitCodeCalculator final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/ShellExitCodeCalculator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ShiftLeft class PhpParser\Node\Expr\AssignOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftLeft.php
ShiftLeft class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php
ShiftRight class PhpParser\Node\Expr\AssignOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftRight.php
ShiftRight class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftRight.php

Pagination

  • First page
  • Previous page
  • …
  • Page 168
  • Page 169
  • Page 170
  • Page 171
  • Page 172
  • Page 173
  • Page 174
  • Page 175
  • Page 176
  • …
  • 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