Add the entity_bundles cache tag so action links are created after new log types are installed.

This commit is contained in:
paul121 2020-12-09 12:54:58 -08:00 committed by Michael Stenta
parent 7cdc0eb67b
commit 6fd2a871d8
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ class FarmAssetAddLogActionLink extends DeriverBase {
'entity.asset.canonical',
],
'route_parameters' => ['log_type' => $type],
'cache_tags' => [
'entity_bundles',
],
'prepopulate' => [
'asset' => [
'route_parameter' => 'asset',