class FixtureDeprecatedClass
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\FixtureDeprecatedClass
Expanded class hierarchy of FixtureDeprecatedClass
See also
\Drupal\Tests\Core\Listeners\DrupalStandardsListenerDeprecationTest
\Drupal\Tests\Listeners\DrupalStandardsListener::endTest()
4 files declare their use of FixtureDeprecatedClass
- PhpUnitBridgeIsolatedTest.php in core/tests/ Drupal/ Tests/ Core/ Test/ PhpUnitBridgeIsolatedTest.php 
- PhpUnitBridgeRequiresTest.php in core/tests/ Drupal/ Tests/ Core/ Test/ PhpUnitBridgeRequiresTest.php 
- PhpUnitBridgeTest.php in core/tests/ Drupal/ KernelTests/ Core/ Test/ PhpUnitBridgeTest.php 
- PhpUnitBridgeTest.php in core/tests/ Drupal/ Tests/ Core/ Test/ PhpUnitBridgeTest.php 
1 string reference to 'FixtureDeprecatedClass'
- deprecation_test.services.yml in core/modules/ system/ tests/ modules/ deprecation_test/ deprecation_test.services.yml 
- core/modules/system/tests/modules/deprecation_test/deprecation_test.services.yml
1 service uses FixtureDeprecatedClass
- deprecation_test.service in core/modules/ system/ tests/ modules/ deprecation_test/ deprecation_test.services.yml 
- Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass
File
- 
              core/modules/ system/ tests/ modules/ deprecation_test/ src/ Deprecation/ FixtureDeprecatedClass.php, line 17 
Namespace
Drupal\deprecation_test\DeprecationView source
class FixtureDeprecatedClass {
  
  /**
   * Returns a known value.
   *
   * @return string
   *   A known return value.
   */
  public function testFunction() {
    return 'test';
  }
}Members
| Title Sort descending | Modifiers | Object type | Summary | 
|---|---|---|---|
| FixtureDeprecatedClass::testFunction | public | function | Returns a known value. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
