public function ScanResultController::resultPage in Upgrade Status 8
Same name and namespace in other branches
- 8.3 src/Controller/ScanResultController.php \Drupal\upgrade_status\Controller\ScanResultController::resultPage()
- 8.2 src/Controller/ScanResultController.php \Drupal\upgrade_status\Controller\ScanResultController::resultPage()
Builds content for the error list page/popup.
Parameters
string $type: Type of the extension, it can be either 'module' or 'theme' or 'profile'.
string $project_machine_name: The machine name of the project.
Return value
array Build array.
1 string reference to 'ScanResultController::resultPage'
File
- src/
Controller/ ScanResultController.php, line 78
Class
Namespace
Drupal\upgrade_status\ControllerCode
public function resultPage(string $type, string $project_machine_name) {
$extension = $this->projectCollector
->loadProject($type, $project_machine_name);
return $this->resultFormatter
->formatResult($extension);
}