You are here

public function DefaultController::hello in Apache Solr Config Generator 8

Hello.

Return value

string Return Hello string.

1 string reference to 'DefaultController::hello'
apachesolr_confgen.routing.yml in ./apachesolr_confgen.routing.yml
apachesolr_confgen.routing.yml

File

src/Controller/DefaultController.php, line 24
Contains Drupal\apachesolr_confgen\Controller\DefaultController.

Class

DefaultController
Class DefaultController.

Namespace

Drupal\apachesolr_confgen\Controller

Code

public function hello($name) {
  return [
    '#type' => 'markup',
    '#markup' => $this
      ->t('Hello @name!', [
      '@name' => $name,
    ]),
  ];
}