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