A pencil with a line slashing through it

This project is not covered by Drupal’s security advisory policy.

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

Supporting organizations: 

Project information

Releases