Download & Extend

Contextual links UI elements are not a library

Project:Drupal core
Version:7.x-dev
Component:system.module
Category:bug report
Priority:normal
Assigned:sun
Status:closed (fixed)
Issue tags:Contextual links

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
drupal.contextual-links-library.patch1.2 KBIdlePassed: 14679 passes, 0 fails, 0 exceptionsView details

Comments

#1

Status:needs review» reviewed & tested by the community

Simple and elegant. Like sun said, having this allows contrib modules to change how the contextual links look/work.

#2

I want this to get in before doing #626286: Make contextual links a module

#3

How can you forget? Jeez :'D

#4

Status:reviewed & tested by the community» fixed

Makes sense to me.

Committed to HEAD.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.