@@ -33,28 +33,6 @@ public function randomString($length = 8) {
returnRandom::string($length);
}
/**
* Callback for random string validation.
*
* @see \Drupal\Component\Utility\Random::string()
*
* @param string $string
* The random string to validate.
*
* @return bool
* TRUE if the random string is valid, FALSE if not.
*
* @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0.
* Use \Drupal\TestTools\Random::stringValidate() instead.
*
* @see https://www.drupal.org/node/3358389
*/
publicfunctionrandomStringValidate($string){
@trigger_error(__METHOD__."() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\TestTools\Random::stringValidate() instead. See https://www.drupal.org/node/3358389",E_USER_DEPRECATED);
returnRandom::stringValidate($string);
}
/**
* Generates a unique random string containing letters and numbers.