public function BatchController::batchPageTitle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Controller/BatchController.php \Drupal\system\Controller\BatchController::batchPageTitle()
- 9 core/modules/system/src/Controller/BatchController.php \Drupal\system\Controller\BatchController::batchPageTitle()
The _title_callback for the system.batch_page.normal route.
Return value
string The page title.
1 string reference to 'BatchController::batchPageTitle'
- system.routing.yml in core/
modules/ system/ system.routing.yml - core/modules/system/system.routing.yml
File
- core/
modules/ system/ src/ Controller/ BatchController.php, line 90
Class
- BatchController
- Controller routines for batch routes.
Namespace
Drupal\system\ControllerCode
public function batchPageTitle() {
$current_set = _batch_current_set();
return !empty($current_set['title']) ? $current_set['title'] : '';
}