class ChildWithDeprecatedMethod
Fixture: cross-module child with deprecated method.
Hierarchy
- class \Drupal\drupal_debug_test_core\ParentWithReturn
- class \Drupal\drupal_debug_test_core\ChildWithDeprecatedMethod extends \Drupal\drupal_debug_test_core\ParentWithReturn
Expanded class hierarchy of ChildWithDeprecatedMethod
File
-
core/
tests/ fixtures/ TestTools/ drupal_debug_classloader_test_classes.php, line 95
Namespace
Drupal\drupal_debug_test_coreView source
class ChildWithDeprecatedMethod extends ParentWithReturn {
/**
* @deprecated in drupal:11.0.0 and is removed from drupal:12.0.0.
* Use something else instead.
* @see https://www.drupal.org/node/9999999
*/
public function testMethod() {
return 'overridden';
}
}
Members
| Title Sort descending | Deprecated | Modifiers | Object type | Summary | Overriden Title |
|---|---|---|---|---|---|
| ChildWithDeprecatedMethod::testMethod | Deprecated | public | function | Overrides ParentWithReturn::testMethod | |
| ParentWithReturn::anotherMethod | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.