Search for randomString

  1. Search 7.x for randomString
  2. Search 9.5.x for randomString
  3. Search 8.9.x for randomString
  4. Search 10.3.x for randomString
  5. Other projects
Title Object type File name Summary
RandomGeneratorTrait::randomString function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a pseudo-random string of ASCII characters of codes 32 to 126.
RandomTest::testRandomStringException function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests infinite loop prevention whilst generating random strings.
RandomTest::testRandomStringNonUnique function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string if uniqueness is not enforced.
RandomTest::testRandomStringUniqueness function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests unique random string generation.
RandomTest::testRandomStringValidator function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string validation callbacks.
RandomTest::_RandomStringValidate function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Callback for random string validation.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.