diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme
index 1559d0c03c..2ad947c80b 100644
--- a/core/themes/seven/seven.theme
+++ b/core/themes/seven/seven.theme
@@ -23,7 +23,7 @@ function seven_preprocess_html(&$variables) {
 }
 
 /**
- * Implements hook_pre_render_HOOK() for menu-local-tasks templates.
+ * Implements hook_preprocess_HOOK() for menu-local-tasks templates.
  *
  * Use preprocess hook to set #attached to child elements
  * because they will be processed by Twig and drupal_render will
