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 |
|---|---|---|---|---|---|---|---|---|
| UpdateCacheTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests caches during updates. | ||||
| UpdateCalculateProjectDataTest | class | Drupal\Tests\update\Kernel | core/ |
Test the values set in update_calculate_project_data(). | ||||
| UpdateCompilerPass | class | Drupal\Core\Update | core/ |
Removes services with unmet dependencies. | ||||
| UpdateComplexTest | class | Drupal\KernelTests\Core\Database | core/ |
Tests the Update query builder, complex queries. | ||||
| UpdateContribTest | class | Drupal\Tests\update\Functional | core/ |
Tests how Update Status handles contributed modules and themes. | ||||
| UpdateController | class | Drupal\update\Controller | core/ |
Controller routines for update routes. | ||||
| UpdateDataSubscriber | final class | Drupal\package_manager\EventSubscriber | core/ |
Clears stale update data once staged changes have been applied. | ||||
| UpdateDescriptionTest | class | Drupal\KernelTests\Core\Extension | core/ |
Tests for update descriptions. | ||||
| UpdateEmptyEmailsUpdatePathTest | class | Drupal\Tests\update\Functional\Update | core/ |
Tests update_post_update_fix_update_emails. | ||||
| UpdateException | class | Drupal\Core\Utility | core/ |
Exception class used to throw error if a module update fails. | 2 | |||
| UpdateFetcher | class | Drupal\update | core/ |
Fetches project information from remote locations. | 1 | 2 | ||
| UpdateFetcherInterface | interface | Drupal\update | core/ |
Fetches project information from remote locations. | 1 | 8 | ||
| UpdateFetcherTest | class | Drupal\Tests\update\Unit | core/ |
Tests update functionality unrelated to the database. | ||||
| UpdateHookRegistry | class | Drupal\Core\Update | core/ |
Provides module updates versions handling. | 5 | 2 | ||
| UpdateHookRegistryTest | class | Drupal\Tests\Core\Update | core/ |
Tests Drupal\Core\Update\UpdateHookRegistry. | ||||
| UpdateHooks | class | Drupal\update\Hook | core/ |
Hook implementations for update. | 1 | |||
| UpdateKernel | class | Drupal\Core\Update | core/ |
Defines a kernel which is used primarily to run the update of Drupal. | 4 | |||
| UpdateLobTest | class | Drupal\KernelTests\Core\Database | core/ |
Tests the Update query builder with LOB fields. | ||||
| UpdateLocalTasksTest | class | Drupal\Tests\update\Unit\Menu | core/ |
Tests existence of update local tasks. | ||||
| UpdateMailTest | class | Drupal\Tests\update\Unit | core/ |
Tests text of update email. | ||||
| UpdateManager | class | Drupal\update | core/ |
Default implementation of UpdateManagerInterface. | 2 | |||
| UpdateManagerInterface | interface | Drupal\update | core/ |
Manages project update information. | 1 | 13 | ||
| UpdateMiscTest | class | Drupal\Tests\update\Functional | core/ |
Tests general functionality of the Update Status module. | ||||
| UpdateOrderingTest | class | Drupal\Tests\Core\Update | core/ |
Tests update ordering. | 1 | |||
| UpdatePathLastRemovedTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests that modules can define their last removed update function. | ||||
| UpdatePathNewDependencyTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Modules can introduce new dependencies and enable them in update hooks. | ||||
| UpdatePathTestBase | abstract class | Drupal\FunctionalTests\Update | core/ |
Provides a base class for writing an update test. | 33 | 32 | ||
| UpdatePathTestBaseFilledTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Runs UpdatePathTestBase with a dump filled with content. | ||||
| UpdatePathTestBaseTest | class | Drupal\FunctionalTests\Update | core/ |
Tests the update path base class. | ||||
| UpdatePathTestJavaScriptTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests the presence of JavaScript at update.php. | ||||
| UpdatePathTestTrait | trait | Drupal\Tests | core/ |
Trait UpdatePathTestTrait. | 14 | |||
| UpdatePathWithBrokenRoutingTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests the update path with a broken router. | ||||
| UpdatePostUpdateExceptionTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests hook_post_update() when there is an exception in a post update. | ||||
| UpdatePostUpdateFailingTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests hook_post_update() when there are failing update hooks. | ||||
| UpdatePostUpdateTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests hook_post_update(). | ||||
| UpdateProcessor | class | Drupal\update | core/ |
Process project update information. | 1 | 1 | 2 | |
| UpdateProcessorInterface | interface | Drupal\update | core/ |
Processor of project update information. | 1 | |||
| UpdateReducedThemeRegistryTest | class | Drupal\FunctionalTests\Update | core/ |
Tests that update.php is accessible even if there are unstable modules. | ||||
| UpdateRegistry | class | Drupal\Core\Update | core/ |
Provides all and missing update implementations. | 3 | 2 | ||
| UpdateRegistryTest | class | Drupal\Tests\Core\Update | core/ |
Tests UpdateRegistry. | ||||
| UpdateRemovedPostUpdateTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests hook_removed_post_updates(). | ||||
| UpdateReportTest | class | Drupal\Tests\update\Kernel | core/ |
Tests update report functionality. | ||||
| UpdateRequirements | class | Drupal\update\Hook | core/ |
Requirements for the update module. | ||||
| UpdateRequirementsTest | class | Drupal\KernelTests\Core\Updater | core/ |
Tests hook_update_requirements() and hook_update_requirements_alter(). | ||||
| UpdateSchemaTest | class | Drupal\KernelTests\Core\Extension | core/ |
Tests for schema and update includes. | ||||
| UpdateSchemaTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests that update hooks are properly run. | ||||
| UpdateScriptTest | class | Drupal\Tests\system\Functional\UpdateSystem | core/ |
Tests the update script access and functionality. | ||||
| UpdateScriptTestController | class | Drupal\update_script_test\Controller | core/ |
Controller routines for update_script_test routes. | ||||
| UpdateScriptTestHooks | class | Drupal\update_script_test\Hook | core/ |
Hook implementations for update_script_test. | ||||
| UpdateScriptTestRequirements | class | Drupal\update_script_test\Hook | core/ |
Requirements for the Update Script Test module. |
Pagination
- Previous page
- Page 206
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.