function FixtureDeprecatedClass::testFunction

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php \Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass::testFunction()
  2. 10 core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php \Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass::testFunction()
  3. 11.x core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php \Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass::testFunction()

Returns a known value.

Return value

string A known return value.

File

core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php, line 24

Class

FixtureDeprecatedClass
Fixture class for use by DrupalStandardsListenerDeprecationTest.

Namespace

Drupal\deprecation_test\Deprecation

Code

public function testFunction() {
    return 'test';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.