protected function EarlyRenderingTestController::earlyRenderContent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/early_rendering_controller_test/src/EarlyRenderingTestController.php \Drupal\early_rendering_controller_test\EarlyRenderingTestController::earlyRenderContent()
8 calls to EarlyRenderingTestController::earlyRenderContent()
- EarlyRenderingTestController::cacheableDomainObjectEarly in core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ EarlyRenderingTestController.php - EarlyRenderingTestController::cacheableResponseEarly in core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ EarlyRenderingTestController.php - EarlyRenderingTestController::domainObjectEarly in core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ EarlyRenderingTestController.php - EarlyRenderingTestController::domainObjectWithAttachmentsEarly in core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ EarlyRenderingTestController.php - EarlyRenderingTestController::renderArray in core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ EarlyRenderingTestController.php
File
- core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ EarlyRenderingTestController.php, line 54 - Contains \Drupal\early_rendering_controller_test\EarlyRenderingTestController.
Class
- EarlyRenderingTestController
- Controller routines for early_rendering_test routes.
Namespace
Drupal\early_rendering_controller_testCode
protected function earlyRenderContent() {
return [
'#markup' => 'Hello world!',
'#cache' => [
'tags' => [
'foo',
],
],
];
}