Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Site/Settings.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Site/Settings.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/lib/Drupal/Core/Site/Settings.php Mon Apr 23 09:46:53 2018 +0100 @@ -156,8 +156,8 @@ * cache. By default, this method will produce a unique prefix per site using * the hash salt. If the setting 'apcu_ensure_unique_prefix' is set to FALSE * then if the caller does not provide a $site_path only the Drupal root will - * be used. This allows WebTestBase to use the same prefix ensuring that the - * number of APCu items created during a full test run is kept to a minimum. + * be used. This allows tests to use the same prefix ensuring that the number + * of APCu items created during a full test run is kept to a minimum. * Additionally, if a multi site implementation does not use site specific * module directories setting apcu_ensure_unique_prefix would allow the sites * to share APCu cache items. @@ -168,6 +168,8 @@ * * @return string * The prefix for APCu user cache keys. + * + * @see https://www.drupal.org/project/drupal/issues/2926309 */ public static function getApcuPrefix($identifier, $root, $site_path = '') { if (static::get('apcu_ensure_unique_prefix', TRUE)) {