You are here

public function FixtureDeprecatedClass::testFunction in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php \Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass::testFunction()
  2. 9 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';
}