FunctionalTestSetupTrait::$apcuEnsureUniquePrefix

Same name in other branches
  1. 9 core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::apcuEnsureUniquePrefix
  2. 10 core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php \Drupal\Core\Test\FunctionalTestSetupTrait::apcuEnsureUniquePrefix
  3. 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\Test

Code

protected $apcuEnsureUniquePrefix = FALSE;

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