blob: 04f947ee54bcdfb97f4e47b9c85095fbfbd2b634 (
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\achievements\Controller;
use Drupal\Core\Controller\ControllerBase;
/**
* Class achievementController.
*/
class achievementController 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'),
];
}
}
|