private function PermissionsByTermDrupalSubContext::createRandomString in Permissions by Term 8.2
1 call to PermissionsByTermDrupalSubContext::createRandomString()
- PermissionsByTermDrupalSubContext::iCreateNodesOfType in tests/
src/ Behat/ Context/ permissions_by_term.behat.inc - @Given /^I create (\d+) nodes of type "([^"]*)"$/
File
- tests/
src/ Behat/ Context/ permissions_by_term.behat.inc, line 100
Class
- PermissionsByTermDrupalSubContext
- Class PermissionsByTermContext
Namespace
Drupal\Tests\permissions_by_term\Behat\PermissionsByTermDrupalSubContextCode
private function createRandomString($length = 10) {
return substr(str_shuffle(str_repeat("0123456789abcdefghijklmnopqrstuvwxyz", $length)), 0, $length);
}