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
SanitizeCombinedHeadersPropagationGetter final class OpenTelemetry\Context\Propagation vendor/open-telemetry/context/Propagation/SanitizeCombinedHeadersPropagationGetter.php Some servers concatenate multiple headers with ';' -- we need to replace these with ',' This is still a workaround and doesn't get around the problem fully, specifically it doesn't handle edge cases where the header has a…
SAPIUsageSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php
SauceRest class WebDriver\SauceLabs vendor/lullabot/php-webdriver/lib/WebDriver/SauceLabs/SauceRest.php WebDriver\SauceLabs\SauceRest class
SaveAction class Drupal\Core\Action\Plugin\Action core/lib/Drupal/Core/Action/Plugin/Action/SaveAction.php Provides an action that can save any entity.
ScaffoldFileCollection class Drupal\Composer\Plugin\Scaffold\Operations composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php Collection of scaffold files. 1
ScaffoldFileInfo class Drupal\Composer\Plugin\Scaffold composer/Plugin/Scaffold/ScaffoldFileInfo.php Data object that keeps track of one scaffold file. 1
ScaffoldFilePath class Drupal\Composer\Plugin\Scaffold composer/Plugin/Scaffold/ScaffoldFilePath.php Manage the path to a file to scaffold. 8
ScaffoldOptions class Drupal\Composer\Plugin\Scaffold composer/Plugin/Scaffold/ScaffoldOptions.php Per-project options from the 'extras' section of the composer.json file. 5
ScaffoldResult class Drupal\Composer\Plugin\Scaffold\Operations composer/Plugin/Scaffold/Operations/ScaffoldResult.php Record the result of a scaffold operation. 1
Scalar abstract class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/Scalar.php 5 11
Scalar final class phpDocumentor\Reflection\Types vendor/phpdocumentor/type-resolver/src/Types/Scalar.php Value Object representing the 'scalar' pseudo-type, which is either a string, integer, float or boolean. 1
ScalarComparator class SebastianBergmann\Comparator vendor/sebastian/comparator/src/ScalarComparator.php Compares scalar or NULL values for equality. 1
ScalarStub class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/ScalarStub.php Represents any arbitrary value. 1
Scale class Drupal\system\Plugin\ImageToolkit\Operation\gd core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Scale.php Defines GD2 Scale operation.
ScaleAndCrop class Drupal\system\Plugin\ImageToolkit\Operation\gd core/modules/system/src/Plugin/ImageToolkit/Operation/gd/ScaleAndCrop.php Defines GD2 Scale and crop operation.
ScaleAndCropImageEffect class Drupal\image\Plugin\ImageEffect core/modules/image/src/Plugin/ImageEffect/ScaleAndCropImageEffect.php Scales and crops an image resource.
ScaleImageEffect class Drupal\image\Plugin\ImageEffect core/modules/image/src/Plugin/ImageEffect/ScaleImageEffect.php Scales an image resource.
Scanner class Peast\Syntax vendor/mck89/peast/lib/Peast/Syntax/Scanner.php Base class for scanners.
Scanner trait Peast\Syntax\JSX vendor/mck89/peast/lib/Peast/Syntax/JSX/Scanner.php JSX scanner trait
Scanner class Masterminds\HTML5\Parser vendor/masterminds/html5/src/HTML5/Parser/Scanner.php The scanner scans over a given data input to react appropriately to characters. 2
Schedule class Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponse vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/Experimental/MetricConfigResponse/Schedule.php A Schedule is used to apply a particular scheduling configuration to a metric. If a metric name matches a schedule's patterns, then the metric adopts the configuration specified by the schedule.
Schema abstract class Drupal\Core\Database core/lib/Drupal/Core/Database/Schema.php Provides a base implementation for Database Schema. 3 3
Schema class Drupal\mysql\Driver\Database\mysql core/modules/mysql/src/Driver/Database/mysql/Schema.php MySQL implementation of \Drupal\Core\Database\Schema.
Schema class Drupal\pgsql\Driver\Database\pgsql core/modules/pgsql/src/Driver/Database/pgsql/Schema.php PostgreSQL implementation of \Drupal\Core\Database\Schema.
Schema class Drupal\sqlite\Driver\Database\sqlite core/modules/sqlite/src/Driver/Database/sqlite/Schema.php SQLite implementation of \Drupal\Core\Database\Schema.
SchemaCheckTrait trait Drupal\Core\Config\Schema core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php Provides a trait for checking configuration schema. 2
SchemaCompatibilityChecker class Drupal\Core\Theme\Component core/lib/Drupal/Core/Theme/Component/SchemaCompatibilityChecker.php Checks whether two schemas are compatible. 1
SchemaConstraint class JsonSchema\Constraints vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php The SchemaConstraint Constraints, validates an element against a given schema
SchemaDetectionResult abstract class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaDetector/SchemaDetectionResult.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
SchemaDetector final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaDetector/SchemaDetector.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
SchemaException class Drupal\Core\Database core/lib/Drupal/Core/Database/SchemaException.php Base exception for Schema-related errors. 4 4
SchemaFinder final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaFinder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SchemaIncompleteException class Drupal\Core\Config\Schema core/lib/Drupal/Core/Config/Schema/SchemaIncompleteException.php An exception thrown when a config schema is incomplete. 3
SchemaObjectDoesNotExistException class Drupal\Core\Database core/lib/Drupal/Core/Database/SchemaObjectDoesNotExistException.php Exception thrown if an object being modified doesn't exist yet. 3
SchemaObjectExistsException class Drupal\Core\Database core/lib/Drupal/Core/Database/SchemaObjectExistsException.php Exception thrown if an object being created already exists. 4
SchemaStorage class JsonSchema vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php 1
SchemaStorageInterface interface JsonSchema vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php 1 1
SchemaTableColumnSizeTooLargeException class Drupal\Core\Database\Exception core/lib/Drupal/Core/Database/Exception/SchemaTableColumnSizeTooLargeException.php Exception thrown if a column size is too large on table creation. 1
SchemaTableKeyTooLargeException class Drupal\Core\Database\Exception core/lib/Drupal/Core/Database/Exception/SchemaTableKeyTooLargeException.php Exception thrown if a key is too large. 2
SchemeRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/SchemeRequestMatcher.php Checks the HTTP scheme of a Request.
ScopeClosingBraceSniff class Drupal\Sniffs\WhiteSpace vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php Copied from \PHP_CodeSniffer\Standards\PEAR\Sniffs\WhiteSpace\ScopeClosingBraceSniff to allow empty methods and classes.
ScopeClosingBraceSniff class PHP_CodeSniffer\Standards\PEAR\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php
ScopeClosingBraceSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php
ScopeHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/ScopeHelper.php @internal 8
ScopeIndentSniff class PHP_CodeSniffer\Standards\PEAR\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php
ScopeIndentSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php 1 1
ScopeIndentSniff class Drupal\Sniffs\WhiteSpace vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php Largely copied from \PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace\ScopeIndentSniff, modified to make the exact mode working with comments and multi line statements.
ScopeInfo class VariableAnalysis\Lib vendor/sirbrillig/phpcs-variable-analysis/VariableAnalysis/Lib/ScopeInfo.php Holds details of a scope. 3
ScopeInterface interface OpenTelemetry\Context vendor/open-telemetry/context/ScopeInterface.php 3 4
ScopeKeywordSpacingSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php

Pagination

  • First page
  • Previous page
  • …
  • Page 163
  • Page 164
  • Page 165
  • Page 166
  • Page 167
  • Page 168
  • Page 169
  • Page 170
  • Page 171
  • …
  • 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