function TestTrait::getStuff
Same name in other branches
- 9 core/modules/system/tests/src/Traits/TestTrait.php \Drupal\Tests\system\Traits\TestTrait::getStuff()
- 10 core/modules/system/tests/src/Traits/TestTrait.php \Drupal\Tests\system\Traits\TestTrait::getStuff()
- 11.x 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\TraitsCode
protected function getStuff() {
return $this->stuff;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.