public function TestUpdateManager::getTasks in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager::getTasks()
- 8 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager::getTasks()
- 8.3 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager::getTasks()
- 8.4 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\TestUpdateManager::getTasks()
Returns all available tasks for a specific update.
Parameters
object $handler: The task handler.
Return value
\Generator An iterable of UpdateTask objects.
Overrides UpdateManager::getTasks
File
- tests/
src/ Unit/ UpdateManagerTest.php, line 70
Class
- TestUpdateManager
- Exposes protected UpdateManager methods for testing.
Namespace
Drupal\Tests\lightning_core\UnitCode
public function getTasks($handler) {
return parent::getTasks($handler);
}