A pencil with a line slashing through it

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

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon65 sites report using this module
  • Created by jayhuskins on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases