public function UpgradeStatusTestContribErrorController::content in Upgrade Status 8
Same name and namespace in other branches
- 8.3 tests/modules/upgrade_status_test_contrib_error/src/Controller/UpgradeStatusTestContribErrorController.php \Drupal\upgrade_status_test_contrib_error\Controller\UpgradeStatusTestContribErrorController::content()
- 8.2 tests/modules/upgrade_status_test_contrib_error/src/Controller/UpgradeStatusTestContribErrorController.php \Drupal\upgrade_status_test_contrib_error\Controller\UpgradeStatusTestContribErrorController::content()
File
- tests/
modules/ upgrade_status_test_contrib_error/ src/ Controller/ UpgradeStatusTestContribErrorController.php, line 12
Class
- UpgradeStatusTestContribErrorController
- Test class which contains deprecation error.
Namespace
Drupal\upgrade_status_test_contrib_error\ControllerCode
public function content() {
return [
'#type' => 'markup',
'#markup' => format_string('I am @deprecated', [
'@deprecated' => 'deprecated',
]),
];
}