function BrowserTestBase::__get
File
-
core/
tests/ Drupal/ Tests/ BrowserTestBase.php, line 387
Class
- BrowserTestBase
- Provides a test case for functional Drupal tests.
Namespace
Drupal\TestsCode
public function __get(string $name) {
if ($name === 'randomGenerator') {
@trigger_error('Accessing the randomGenerator property is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use getRandomGenerator() instead. See https://www.drupal.org/node/3358445', E_USER_DEPRECATED);
return $this->getRandomGenerator();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.