DeprecatedController.php
Same filename in other branches
Namespace
Drupal\deprecation_testFile
-
core/
modules/ system/ tests/ modules/ deprecation_test/ src/ DeprecatedController.php
View source
<?php
namespace Drupal\deprecation_test;
/**
* Defines a controller that calls a deprecated method.
*/
class DeprecatedController {
/**
* Controller callback.
*
* @return array
* Render array.
*/
public function deprecatedMethod() {
return [
'#markup' => deprecation_test_function(),
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DeprecatedController | Defines a controller that calls a deprecated method. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.