DefaultController.php in Apache Solr Config Generator 8
Namespace
Drupal\apachesolr_confgen\ControllerFile
src/Controller/DefaultController.phpView source
<?php
/**
* @file
* Contains Drupal\apachesolr_confgen\Controller\DefaultController.
*/
namespace Drupal\apachesolr_confgen\Controller;
use Drupal\Core\Controller\ControllerBase;
/**
* Class DefaultController.
*
* @package Drupal\apachesolr_confgen\Controller
*/
class DefaultController extends ControllerBase {
/**
* Hello.
*
* @return string
* Return Hello string.
*/
public function hello($name) {
return [
'#type' => 'markup',
'#markup' => $this
->t('Hello @name!', [
'@name' => $name,
]),
];
}
}
Classes
Name | Description |
---|---|
DefaultController | Class DefaultController. |