Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 20.55 KB
MD5: 40a2f81b3b462ac3d716079005ed5cfd
SHA-1: 6dd40140db65dcbaa41e37f24a3189905511d1a2
SHA-256: 488ea1204d73f1af97b1ad2ea2eca0e14d34daad929f50173235a82d08f72ac3
Download zip 37.18 KB
MD5: 36dff03da3955635a514ace640793f15
SHA-1: 02f5701cde94716a140317c600c31529ead6dee0
SHA-256: d37743ee0b00f5ba072f79396a29f58920b8f58aef13c9689b4208e0c3a3c05b

Release notes

This is the first stable release of the 3.x rewrite.

3.x pins comments in Drupal's default comment list. A Views block is no longer used, and the Comments field should stay enabled in Manage display.

Changes since 2.x:
- Compatible with Drupal 10 and 11.
- Stick on top / Remove from top on top-level comments only; replies stay with the parent.
- Settings at /admin/config/content/comment-on-top (new comment types are enabled by default).
- Optional Twig overrides, for example comment--pinned-on-top.html.twig.
- GitLab CI (phpcs, phpstan, kernel tests).

Comment on top by likes pins the most liked top-level comment (likes minus dislikes). Enable comment types at /admin/config/content/comment-on-top/by-likes, or per node under Comment settings. The Like/Dislike 2.4.x releases do not declare Drupal 11 support, so this submodule may not install on Drupal 11 until that project is updated.

On Drupal 11.4 Standard, create a content type, a comment type, and a Comments field before using this module.

Do not upgrade from 2.x without reading the README. Sites that used the Views block and a disabled Comments field need to restore the default comment display.

2.0.x remains supported for existing 2.x sites.

Created by: drale01
Created on: 28 Sep 2026 at 10:22 UTC
Last updated: 28 Sep 2026 at 10:22 UTC
New features

Other releases