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
SymlinkValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/SymlinkValidator.php Flags errors if unsupported symbolic links are detected.
SyncHelper class Composer\Util vendor/composer/composer/src/Composer/Util/SyncHelper.php 1
SynchronizableEntityTrait trait Drupal\Core\Entity core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php Provides a trait for accessing synchronization information. 1
SynchronizableInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/SynchronizableInterface.php Defines methods for an entity that supports synchronization. 2 3
SynchronousInstrument interface OpenTelemetry\API\Metrics vendor/open-telemetry/api/Metrics/SynchronousInstrument.php Marker interface for synchronous instruments. 4
SynchronousInstrumentTrait trait OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/SynchronousInstrumentTrait.php @internal
SynchronousMetricStream final class OpenTelemetry\SDK\Metrics\Stream vendor/open-telemetry/sdk/Metrics/Stream/SynchronousMetricStream.php @internal @phan-file-suppress PhanUndeclaredTypeParameter, PhanUndeclaredTypeProperty 1
SyndicateBlock class Drupal\node\Plugin\Block core/modules/node/src/Plugin/Block/SyndicateBlock.php Provides a 'Syndicate' block that links to the site's RSS feed.
Syntax class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/Syntax.php The syntax in which a protocol buffer element is defined.
SyntaxError class Twig\Error vendor/twig/twig/src/Error/SyntaxError.php \Exception thrown when a syntax error occurs during lexing or parsing of a template. 31
SyntaxErrorException class Symfony\Component\CssSelector\Exception vendor/symfony/css-selector/Exception/SyntaxErrorException.php ParseException is thrown when a CSS selector syntax is not valid. 4
SyntaxSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php
SyntheticTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php
SysLog class Drupal\syslog\Logger core/modules/syslog/src/Logger/SysLog.php Redirects logging messages to syslog. 2
SyslogHooks class Drupal\syslog\Hook core/modules/syslog/src/Hook/SyslogHooks.php Hook implementations for syslog.
System final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/System.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
System class vendor/pear/pear-core-minimal/src/System.php System offers cross platform compatible system functions
SystemAdminMenuBlockAccessCheck class Drupal\system\Access core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php Access check for routes implementing _access_admin_menu_block_page. 3
SystemBrandingBlock class Drupal\system\Plugin\Block core/modules/system/src/Plugin/Block/SystemBrandingBlock.php Provides a block to display 'Site branding' elements.
SystemBrandingOffCanvasForm class Drupal\system\Form core/modules/system/src/Form/SystemBrandingOffCanvasForm.php The settings_tray form handler for the SystemBrandingBlock. 1
SystemBreadcrumbBlock class Drupal\system\Plugin\Block core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php Provides a block to display the breadcrumbs.
SystemClock final class OpenTelemetry\API\Common\Time vendor/open-telemetry/api/Common/Time/SystemClock.php @internal OpenTelemetry
SystemCompactLink class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/SystemCompactLink.php Provides a link to show or hide help text on administration pages.
SystemConfigSubscriber class Drupal\system core/modules/system/src/SystemConfigSubscriber.php System Config subscriber. 2
SystemController class Drupal\system\Controller core/modules/system/src/Controller/SystemController.php Returns responses for System routes.
SystemDceSecurityProvider class Ramsey\Uuid\Provider\Dce vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php SystemDceSecurityProvider retrieves the user or group identifiers from the system 1
SystemHooks class Drupal\system\Hook core/modules/system/src/Hook/SystemHooks.php Hook implementations for system.
SystemInfoController class Drupal\system\Controller core/modules/system/src/Controller/SystemInfoController.php Returns responses for System Info routes.
SystemMainBlock class Drupal\system\Plugin\Block core/modules/system/src/Plugin/Block/SystemMainBlock.php Provides a 'Main page content' block.
SystemManager class Drupal\system core/modules/system/src/SystemManager.php System Manager Service. 5 2
SystemMemoryMeter final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/SystemMemoryMeter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SystemMenuBlock class Drupal\system\Plugin\Derivative core/modules/system/src/Plugin/Derivative/SystemMenuBlock.php Provides block plugin definitions for custom menus. 1
SystemMenuBlock class Drupal\system\Plugin\Block core/modules/system/src/Plugin/Block/SystemMenuBlock.php Provides a generic Menu block. 1 1
SystemMenuNavigationBlock final class Drupal\navigation\Plugin\Derivative core/modules/navigation/src/Plugin/Derivative/SystemMenuNavigationBlock.php Provides navigation block plugin definitions for custom menus. 1
SystemMenuOffCanvasForm class Drupal\system\Form core/modules/system/src/Form/SystemMenuOffCanvasForm.php The setting_tray form handler for the SystemMenuBlock. 1
SystemMessagesBlock class Drupal\system\Plugin\Block core/modules/system/src/Plugin/Block/SystemMessagesBlock.php Provides a block to display the messages.
SystemNodeProvider class Ramsey\Uuid\Provider\Node vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php SystemNodeProvider retrieves the system node ID, if possible 1
SystemPoweredByBlock class Drupal\system\Plugin\Block core/modules/system/src/Plugin/Block/SystemPoweredByBlock.php Provides a 'Powered by Drupal' block.
SystemStopWatch final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/SystemStopWatch.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SystemStopWatchWithOffset final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/SystemStopWatchWithOffset.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
SystemTimeProvider class Ramsey\Uuid\Provider\Time vendor/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php SystemTimeProvider retrieves the current time using built-in PHP functions 1
SystemTokensHooks class Drupal\system\Hook core/modules/system/src/Hook/SystemTokensHooks.php Hook implementations for system.
SystemUpdate7000 class Drupal\system\Plugin\migrate\process\d6 core/modules/system/src/Plugin/migrate/process/d6/SystemUpdate7000.php Rename blog and forum permissions to be consistent with other content types.
Table class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/Table.php Style plugin to render each item as a row in a table. 1
Table class Symfony\Component\Console\Helper vendor/symfony/console/Helper/Table.php Provides helpers to display a table. 7
Table class Drupal\Core\Render\Element core/lib/Drupal/Core/Render/Element/Table.php Provides a render element for a table. 2 1
TableCell class Symfony\Component\Console\Helper vendor/symfony/console/Helper/TableCell.php @author Abdellatif Ait boudad <a.aitboudad@gmail.com> 1 1
TableCellStyle class Symfony\Component\Console\Helper vendor/symfony/console/Helper/TableCellStyle.php @author Yewhen Khoptynskyi <khoptynskyi@gmail.com>
TabledragWarningCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/TabledragWarningCommand.php AJAX command for conveying changed tabledrag rows. 1
TableFormatter class Drupal\file\Plugin\Field\FieldFormatter core/modules/file/src/Plugin/Field/FieldFormatter/TableFormatter.php Plugin implementation of the 'file_table' formatter.

Pagination

  • First page
  • Previous page
  • …
  • Page 179
  • Page 180
  • Page 181
  • Page 182
  • Page 183
  • Page 184
  • Page 185
  • Page 186
  • Page 187
  • …
  • 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