4

I tried uninstalling Quick edit via the user interface.

enter image description here

I cleared the cache via drush cr, but it doesn't work.

enter image description here

How can I disable it?

Even drush en -y quickedit and drush pmu quickedit don't work.

1
  • After uninstalling quick edit module I am not seeing it.
    – Vamsi
    Commented Feb 24, 2016 at 13:22

2 Answers 2

7

As far as I understand your question, you want to get rid of the "Edit" pen icon, displayed when you put the mouse over a node.

This is not provided by the "Quick Edit" module. You have to disable "Contextual Links" if you want to get rid of that menu.

Alternatively, if you are using those links for managing blocks for example, you might want to force hiding contextual links on nodes via CSS.

For example:

.your-node-selector .contextual {
  display: none!important;
}
2
  • 6
    Rather than hiding the CSS, it is probably best to alter the render array to remove the links entirely. Think those are part of local tasks.
    – mpdonadio
    Commented Feb 24, 2016 at 17:06
  • Thanks for pointing that out, MPD. I do agree that that's a proper solution. If it's only for administrators, CSS solution is much faster/easier to implement. Commented Feb 24, 2016 at 20:36
2

The contextual links are cached in the browser local storage. If you are seeing outdated contextual links, open the developer toolbar and clear out the local storage and session storage. This will repopulate the contextual links from the backend and they will be correct again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.