blob: ed09230434de051c887cdbfd13da4b9b7b2810e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
namespace Drupal\chapters\Controller;
use Drupal\Core\Controller\ControllerBase;
/**
* Class chaptersController.
*/
class chaptersController extends ControllerBase {
/**
* Hello.
*
* @return string
* Return Hello string.
*/
public function hello($name) {
return [
'#type' => 'markup',
'#markup' => $this->t('Implement method: hello with parameter(s): $name'),
];
}
}
|