function WelcomeController::welcome
Returns the welcome page render array.
Return value
array A render array containing the welcome page content.
1 string reference to 'WelcomeController::welcome'
- standard.routing.yml in core/
profiles/ standard/ standard.routing.yml - core/profiles/standard/standard.routing.yml
File
-
core/
profiles/ standard/ src/ Controller/ WelcomeController.php, line 28
Class
- WelcomeController
- Controller for the Standard profile welcome page.
Namespace
Drupal\standard\ControllerCode
public function welcome() : array {
return [
'#theme' => 'standard_welcome_page',
'#attached' => [
'library' => [
'standard/welcome_page',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.