class DrupalStandardsListenerDeprecatedClass in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/deprecation_test/src/Deprecation/DrupalStandardsListenerDeprecatedClass.php \Drupal\deprecation_test\Deprecation\DrupalStandardsListenerDeprecatedClass
Fixture class for use by DrupalStandardsListenerDeprecationTest.
This class is arbitrarily deprecated in order to test the deprecation error handling properties of DrupalStandardsListener.
Hierarchy
- class \Drupal\deprecation_test\Deprecation\DrupalStandardsListenerDeprecatedClass
Expanded class hierarchy of DrupalStandardsListenerDeprecatedClass
See also
\Drupal\Tests\Core\Listeners\DrupalStandardsListenerDeprecationTest
\Drupal\Tests\Listeners\DrupalStandardsListener::endTest()
File
- core/
modules/ system/ tests/ modules/ deprecation_test/ src/ Deprecation/ DrupalStandardsListenerDeprecatedClass.php, line 16
Namespace
Drupal\deprecation_test\DeprecationView source
class DrupalStandardsListenerDeprecatedClass {
/**
* Returns a known value.
*
* @return string
* A known return value.
*/
public function testFunction() {
return 'test';
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalStandardsListenerDeprecatedClass:: |
public | function | Returns a known value. |