projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
44cf330cc82fb9a2f59b3fad271c3a68f137055e
[yaffs-website]
/
web
/
core
/
modules
/
system
/
tests
/
modules
/
deprecation_test
/
src
/
DeprecatedController.php
1
<?php
2
3
namespace Drupal\deprecation_test;
4
5
/**
6
* Defines a controller that calls a deprecated method.
7
*/
8
class DeprecatedController {
9
10
/**
11
* Controller callback.
12
*
13
* @return array
14
* Render array.
15
*/
16
public function deprecatedMethod() {
17
return [
18
'#markup' => deprecation_test_function(),
19
];
20
}
21
22
}