Search for randomMachineName

  1. Search 7.x for randomMachineName
  2. Search 9.5.x for randomMachineName
  3. Search 8.9.x for randomMachineName
  4. Search 10.3.x for randomMachineName
  5. Other projects
Title Object type File name Summary
RandomGeneratorTrait::randomMachineName function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a unique random string containing letters and numbers.
RandomTest::testRandomMachineNameException function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests infinite loop prevention whilst generating random names.
RandomTest::testRandomMachineNameNonUnique function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random name generation if uniqueness is not enforced.
RandomTest::testRandomMachineNamesUniqueness function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests unique random name generation.

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