class ChildWithDeprecatedMethod
Fixture: cross-module child with deprecated method.
Hierarchy
- class \Drupal\drupal_debug_test_core\ParentWithReturn
- class \Drupal\Tests\TestTools\ErrorHandler\ChildWithDeprecatedMethod extends \Drupal\drupal_debug_test_core\ParentWithReturn
Expanded class hierarchy of ChildWithDeprecatedMethod
File
-
core/
tests/ Drupal/ Tests/ TestTools/ ErrorHandler/ DrupalDebugClassLoaderTest.php, line 152
Namespace
Drupal\Tests\TestTools\ErrorHandlerView 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.