Loading core/lib/Drupal/Core/Menu/menu.api.php +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ function hook_menu_local_tasks_alter(&$data, $route_name, \Drupal\Core\Cache\Ref ], ]; // The tab we're adding is dependent on a user's access to add content. $cacheability->addCacheTags(['user.permissions']); $cacheability->addCacheContexts(['user.permissions']); } /** Loading Loading
core/lib/Drupal/Core/Menu/menu.api.php +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ function hook_menu_local_tasks_alter(&$data, $route_name, \Drupal\Core\Cache\Ref ], ]; // The tab we're adding is dependent on a user's access to add content. $cacheability->addCacheTags(['user.permissions']); $cacheability->addCacheContexts(['user.permissions']); } /** Loading