Classes, traits, and interfaces - main - drupal
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 1529
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| SqlContentEntityStorageSchema | class | Drupal\Core\Entity\Sql | core/ |
Defines a schema handler that supports revisionable, translatable entities. | 10 | 11 | ||
| SqlContentEntityStorageSchemaColumnTest | class | Drupal\Tests\field\Kernel\Entity\Update | core/ |
Tests that schema changes in fields with data are detected during updates. | ||||
| SqlContentEntityStorageSchemaTest | class | Drupal\Tests\Core\Entity\Sql | core/ |
Tests Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema. | ||||
| SqlContentEntityStorageSchemaTest | class | Drupal\KernelTests\Core\Entity\Sql | core/ |
Tests Sql Content Entity Storage Schema. | ||||
| SqlContentEntityStorageTest | class | Drupal\KernelTests\Core\Entity\Sql | core/ |
Tests that the deleteFromDedicatedTables() method only executes one DELETE query. | ||||
| SqlContentEntityStorageTest | class | Drupal\Tests\Core\Entity\Sql | core/ |
Tests Drupal\Core\Entity\Sql\SqlContentEntityStorage. | ||||
| SqlCountCache | class | Drupal\migrate_sql_count_cache_test\Plugin\migrate\source | core/ |
Source plugin for Sql count cache test. | 1 | |||
| SqlEntityLoadingTest | class | Drupal\Tests\views\Kernel\Plugin | core/ |
Tests the loading of entities and entity revisions. | ||||
| SqlEntityStorageInterface | interface | Drupal\Core\Entity\Sql | core/ |
A common interface for SQL-based entity storage implementations. | 1 | 7 | ||
| SqlFieldableEntityTypeListenerTrait | trait | Drupal\Core\Entity\Sql | core/ |
Helper methods for EntityTypeListenerInterface. | ||||
| SqlIdMapTest | class | Drupal\Tests\migrate\Kernel\Plugin\id_map | core/ |
Defines a test SQL ID map for use in tests. | ||||
| SqliteCastedIntFieldJoinTest | class | Drupal\Tests\sqlite\Kernel\sqlite\Plugin\views | core/ |
Tests SQLite specific cast handling. | ||||
| SqliteConnection | class | Drupal\sqlite\Driver\Database\sqlite | core/ |
SQLite-specific implementation of a PDO connection. | 2 | |||
| SqliteDatabaseExcluder | class | Drupal\package_manager\PathExcluder | core/ |
Excludes SQLite database files from stage operations. | 1 | |||
| SqliteDatabaseExcluderTest | class | Drupal\Tests\package_manager\Kernel\PathExcluder | core/ |
Tests Sqlite Database Excluder. | ||||
| SqliteDateSql | class | Drupal\views\Plugin\views\query | core/ |
SQLite-specific date handling. | 1 | 2 | ||
| SqliteDateSqlTest | class | Drupal\Tests\views\Unit\Plugin\views\query | core/ |
Tests the MySQL-specific date query handler. | ||||
| SqliteHooks | class | Drupal\sqlite\Hook | core/ |
Hook implementations for sqlite. | ||||
| SqlModeTest | class | Drupal\Tests\mysql\Kernel\mysql | core/ |
Tests compatibility of the MySQL driver with various sql_mode options. | ||||
| SqlModeTest | class | Drupal\Tests\mysqli\Kernel\mysqli | core/ |
Tests compatibility of the MySQL driver with various sql_mode options. | ||||
| SqlQueryTest | class | Drupal\Tests\views\Kernel\Plugin | core/ |
Tests the sql query plugin. | ||||
| SqlTest | class | Drupal\Tests\migrate\Kernel\Plugin\id_map | core/ |
Tests that the migrate map table is created. | ||||
| SqlTest | class | Drupal\Tests\views\Unit\Plugin\query | core/ |
Tests Drupal\views\Plugin\views\query\Sql. | ||||
| Stable9Hooks | class | Drupal\stable9\Hook | core/ |
Hook implementations for stable9. | 1 | |||
| Stable9LibraryOverrideTest | class | Drupal\Tests\stable9\Kernel | core/ |
Tests Stable 9's library overrides. | ||||
| Stable9LibraryOverrideTest | class | Drupal\KernelTests\Core\Theme | core/ |
Tests Stable 9's library overrides. | ||||
| Stable9TemplateOverrideTest | class | Drupal\KernelTests\Core\Theme | core/ |
Tests Stable 9's template overrides. | ||||
| Stable9TemplateOverrideTest | class | Drupal\Tests\stable9\Kernel | core/ |
Tests Stable 9's template overrides. | ||||
| StableLibraryOverrideTestBase | abstract class | Drupal\KernelTests\Core\Theme | core/ |
Tests the behavior of a theme when base_theme info key is missing. | 2 | 1 | ||
| StackedHttpKernel | class | Drupal\Core\StackMiddleware | core/ |
Provides a stacked HTTP kernel. | 3 | 2 | ||
| StackedHttpKernelTest | class | Drupal\Tests\Core\StackMiddleware | core/ |
Tests Drupal\Core\StackMiddleware\StackedHttpKernel. | ||||
| StackedKernelPass | class | Drupal\Core\DependencyInjection\Compiler | core/ |
Provides a compiler pass for stacked HTTP kernels. | 2 | |||
| StackedKernelPassTest | class | Drupal\Tests\Core\DependencyInjection\Compiler | core/ |
Tests Drupal\Core\DependencyInjection\Compiler\StackedKernelPass. | ||||
| StackedRouteMatchInterface | interface | Drupal\Core\Routing | core/ |
Defines an interface for a stack of route matches. | 1 | 3 | ||
| StackedSessionHandlerPass | class | Drupal\Core\DependencyInjection\Compiler | core/ |
Provides a compiler pass for stacked session save handlers. | 1 | |||
| StackItem | final class | Drupal\Core\Database\Transaction | core/ |
A value object for items on the transaction stack. | 2 | |||
| StackKernelIntegrationTest | class | Drupal\KernelTests\Core\HttpKernel | core/ |
Tests the stacked kernel functionality. | ||||
| StackSessionHandlerIntegrationTest | class | Drupal\Tests\system\Functional\Session | core/ |
Tests the stacked session handler functionality. | ||||
| StageCommitExceptionTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Tests Drupal\package_manager\SandboxManagerBase. | ||||
| StageConflictTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Tests Drupal\package_manager\SandboxManagerBase. | ||||
| StagedDBUpdateValidatorTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Tests Staged DBUpdate Validator. | ||||
| StageEventsTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Tests that the stage fires events during its lifecycle. | ||||
| StageFixtureManipulator | final class | Drupal\fixture_manipulator | core/ |
A fixture manipulator service that commits changes after begin. | 2 | |||
| StageLoggedOnErrorTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Tests Drupal\package_manager\SandboxManagerBase. | ||||
| StageOwnershipTest | class | Drupal\Tests\package_manager\Kernel | core/ |
Tests that ownership of the stage is enforced. | ||||
| Standard | class | Drupal\views\Plugin\views\join | core/ |
Default implementation of the join plugin. | ||||
| Standard | class | Drupal\views\Plugin\views\sort | core/ |
Default implementation of the base sort plugin. | ||||
| Standard | class | Drupal\views\Plugin\views\field | core/ |
Default implementation of the base field plugin. | ||||
| Standard | class | Drupal\views\Plugin\views\relationship | core/ |
Default implementation of the base relationship plugin. | ||||
| Standard | class | Drupal\views\Plugin\views\filter | core/ |
Default implementation of the base filter plugin. | 1 |
Pagination
- Previous page
- Page 181
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.