Commit 8b4ceac2 authored by alexpott's avatar alexpott

Issue #2521978 by kim.pepper:...

Issue #2521978 by kim.pepper: core/modules/system/src/Plugin/Condition/RequestPath should use the 'url.path' cache context
parent aec02103
......@@ -164,9 +164,7 @@ public function evaluate() {
*/
public function getCacheContexts() {
$contexts = parent::getCacheContexts();
// @todo Add a url.path cache context in
// https://www.drupal.org/node/2521978.
$contexts[] = 'url';
$contexts[] = 'url.path';
return $contexts;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment