FunctionalTestSetupTrait::$apcuEnsureUniquePrefix
Same name in other branches
- 9 core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::apcuEnsureUniquePrefix
- 10 core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::apcuEnsureUniquePrefix
- 11.x core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::apcuEnsureUniquePrefix
The flag to set 'apcu_ensure_unique_prefix' setting.
Wide use of a unique prefix can lead to problems with memory, if tests are run with a concurrency higher than 1. Therefore, FALSE by default.
Type: bool
See also
\Drupal\Core\Site\Settings::getApcuPrefix().
File
-
core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php, line 69
Class
- FunctionalTestSetupTrait
- Defines a trait for shared functional test setup functionality.
Namespace
Drupal\Core\TestCode
protected $apcuEnsureUniquePrefix = FALSE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.