Drupal is a registered trademark of Dries Buytaert

Contextual links offer an easy way to access common content editing functions. But sometimes they get in the way. Or you may want to remove an option like deleting blocks. Or your styles may be leaking into them, and it's breaking the functionality. This module lets you disable specific contextual links to suit your site.

Features

  • Disable any contextual links

Post-Installation

Configure contextual links by navigating to /admin/config/user-interface/configure-contextual-links to access the settings form.

Similar projects

This is a successor to the Drupal 7 Hide Contextual Links module. But where that module worked on a "block by block basis", this module works by targeting contextual link plugins like "Menu edit", "Block configure", or "Media Delete" and disables them everywhere.

"No edit" icon by Muhamad Aldi Maulana from Noun Project

Activity

Total releases
1
First release
Dec 2025
Latest release
3 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.3 Stable Dec 3, 2025