protected function MetatagTagsTestBase::getTestTagValue in Metatag 8
Generate a random value for testing meta tag fields.
As a reasonable default, this will generating two words of 8 characters each with simple machine name -style strings.
Return value
string A normal string.
File
- tests/
src/ Functional/ MetatagTagsTestBase.php, line 326
Class
- MetatagTagsTestBase
- Base class to test all of the meta tags that are in a specific module.
Namespace
Drupal\Tests\metatag\FunctionalCode
protected function getTestTagValue() {
return $this
->randomMachineName() . ' ' . $this
->randomMachineName();
}