class DeprecatedController
Same name in other branches
- 8.9.x core/modules/system/tests/modules/deprecation_test/src/DeprecatedController.php \Drupal\deprecation_test\DeprecatedController
- 10 core/modules/system/tests/modules/deprecation_test/src/DeprecatedController.php \Drupal\deprecation_test\DeprecatedController
- 11.x core/modules/system/tests/modules/deprecation_test/src/DeprecatedController.php \Drupal\deprecation_test\DeprecatedController
Defines a controller that calls a deprecated method.
Hierarchy
- class \Drupal\deprecation_test\DeprecatedController
Expanded class hierarchy of DeprecatedController
File
-
core/
modules/ system/ tests/ modules/ deprecation_test/ src/ DeprecatedController.php, line 8
Namespace
Drupal\deprecation_testView source
class DeprecatedController {
/**
* Controller callback.
*
* @return array
* Render array.
*/
public function deprecatedMethod() {
return [
'#markup' => deprecation_test_function(),
];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
DeprecatedController::deprecatedMethod | public | function | Controller callback. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.