diff --git a/core/lib/Drupal/Core/Render/theme.api.php b/core/lib/Drupal/Core/Render/theme.api.php index 8df08c3e9a..d0c45eac9b 100644 --- a/core/lib/Drupal/Core/Render/theme.api.php +++ b/core/lib/Drupal/Core/Render/theme.api.php @@ -369,7 +369,7 @@ * '#cache' => [ * 'keys' => ['entity_view', 'node', $node->id()], * 'contexts' => ['languages'], - * 'tags' => ['node:' . $node->getCacheTags()], + * 'tags' => $node->getCacheTags(), * 'max-age' => Cache::PERMANENT, * ], * @endcode