function LonelyMonkeyController::testBrokenClass
Same name in other branches
- 9 core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php \Drupal\error_service_test\Controller\LonelyMonkeyController::testBrokenClass()
- 8.9.x core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php \Drupal\error_service_test\Controller\LonelyMonkeyController::testBrokenClass()
- 11.x core/modules/system/tests/modules/error_service_test/src/Controller/LonelyMonkeyController.php \Drupal\error_service_test\Controller\LonelyMonkeyController::testBrokenClass()
1 string reference to 'LonelyMonkeyController::testBrokenClass'
- error_service_test.routing.yml in core/
modules/ system/ tests/ modules/ error_service_test/ error_service_test.routing.yml - core/modules/system/tests/modules/error_service_test/error_service_test.routing.yml
File
-
core/
modules/ system/ tests/ modules/ error_service_test/ src/ Controller/ LonelyMonkeyController.php, line 24
Class
- LonelyMonkeyController
- Provides a controller which calls out to a service with missing dependencies.
Namespace
Drupal\error_service_test\ControllerCode
public function testBrokenClass() {
return [
'#markup' => $this->t('This should be broken.'),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.