public function UpgradeStatusTestErrorController::content in Upgrade Status 8
Same name and namespace in other branches
- 8.3 tests/modules/upgrade_status_test_error/src/Controller/UpgradeStatusTestErrorController.php \Drupal\upgrade_status_test_error\Controller\UpgradeStatusTestErrorController::content()
- 8.2 tests/modules/upgrade_status_test_error/src/Controller/UpgradeStatusTestErrorController.php \Drupal\upgrade_status_test_error\Controller\UpgradeStatusTestErrorController::content()
File
- tests/
modules/ upgrade_status_test_error/ src/ Controller/ UpgradeStatusTestErrorController.php, line 9
Class
Namespace
Drupal\upgrade_status_test_error\ControllerCode
public function content() {
menu_cache_clear_all();
return [
'#type' => 'markup',
'#markup' => $this
->t('I am deprecated.'),
];
}