A module that wants to provide a different behavior and representation for contextual links will have a performance impact, because the JS/CSS cannot be altered once.
Just make it a library and the issue is resolved.
I already had this in mind when doing the original implementation, but somehow, I forgot.
| Comment | File | Size | Author |
|---|---|---|---|
| drupal.contextual-links-library.patch | 1.2 KB | sun |
Comments
Comment #1
robloachSimple and elegant. Like sun said, having this allows contrib modules to change how the contextual links look/work.
Comment #2
sunI want this to get in before doing #626286: Make contextual links a module
Comment #3
Bojhan commentedHow can you forget? Jeez :'D
Comment #4
webchickMakes sense to me.
Committed to HEAD.