You are here

protected function TestTrait::getStuff in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Traits/TestTrait.php \Drupal\Tests\system\Traits\TestTrait::getStuff()
  2. 10 core/modules/system/tests/src/Traits/TestTrait.php \Drupal\Tests\system\Traits\TestTrait::getStuff()

Return a test string to a trait user.

Return value

string Just a random sort of string.

1 call to TestTrait::getStuff()
TraitAccessTest::testSimpleStuff in core/modules/system/tests/src/Unit/TraitAccessTest.php
@coversNothing

File

core/modules/system/tests/src/Traits/TestTrait.php, line 28

Class

TestTrait
A nothing trait, but declared in the Drupal\Tests namespace.

Namespace

Drupal\Tests\system\Traits

Code

protected function getStuff() {
  return $this->stuff;
}