projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Menu
/
Plugin
/
Block
/
LocalTasksBlock.php
diff --git
a/web/core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
b/web/core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
index 529fe5ca1d14e1c91db0d0254640e249da60b1b8..6a518ef3eff0514365f6abf5272a8cfe9d3e4153 100644
(file)
--- a/
web/core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
+++ b/
web/core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
@@
-85,6
+85,7
@@
class LocalTasksBlock extends BlockBase implements ContainerFactoryPluginInterfa
public function build() {
$config = $this->configuration;
$cacheability = new CacheableMetadata();
+ $cacheability->addCacheableDependency($this->localTaskManager);
$tabs = [
'#theme' => 'menu_local_tasks',
];