diff options
Diffstat (limited to 'core/modules/comment/comment.module')
-rw-r--r-- | core/modules/comment/comment.module | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index b357f3069ae..139513c1c37 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -111,15 +111,6 @@ function comment_preview(CommentInterface $comment, FormStateInterface $form_sta } /** - * Implements hook_preprocess_HOOK() for block templates. - */ -function comment_preprocess_block(&$variables): void { - if ($variables['configuration']['provider'] == 'comment') { - $variables['attributes']['role'] = 'navigation'; - } -} - -/** * Prepares variables for comment templates. * * By default this function performs special preprocessing of some base fields |