final class TestUpdateManager in Lightning Core 8.3
Same name and namespace in other branches
- 8.5 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager
- 8 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager
- 8.2 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager
- 8.4 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager
Exposes protected UpdateManager methods for testing.
Hierarchy
- class \Drupal\lightning_core\UpdateManager
- class \Drupal\Tests\lightning_core\Unit\TestUpdateManager
Expanded class hierarchy of TestUpdateManager
File
- tests/
src/ Unit/ UpdateManagerTest.php, line 76
Namespace
Drupal\Tests\lightning_core\UnitView source
final class TestUpdateManager extends UpdateManager {
public function getTasks($handler) {
return parent::getTasks($handler);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestUpdateManager:: |
public | function |
Returns all available tasks for a specific update. Overrides UpdateManager:: |
|
UpdateManager:: |
protected | property | The class resolver service. | |
UpdateManager:: |
protected | property | The config factory service. | |
UpdateManager:: |
protected | property | The update discovery object. | |
UpdateManager:: |
protected | property | The doc block factory. | |
UpdateManager:: |
protected | property | The module extension list. | |
UpdateManager:: |
constant | Name of the config object which stores version numbers. | ||
UpdateManager:: |
public | function | Executes all available updates in a console context. | |
UpdateManager:: |
public | function | Returns all available update definitions. | |
UpdateManager:: |
public | function | Returns all update definitions, optionally filtered by provider module. | |
UpdateManager:: |
public | function | Tries to determine the semantic version of a module. | |
UpdateManager:: |
public static | function | Converts a drupal.org version number to a semantic version. | |
UpdateManager:: |
constant | Fallback version number used when a module does not declare it. | ||
UpdateManager:: |
public | function | UpdateCommand constructor. |