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