Closed (won't fix)
Project:
Custom Contextual Links
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Jul 2012 at 11:07 UTC
Updated:
22 Apr 2019 at 19:50 UTC
Jump to comment: Most recent
Comments
Comment #1
bkoether commentedHi Niremizov,
Do you mean when custom entities are displayed in a view?
Can you give me a bit more detailed example?
Thanks,
Ben
Comment #2
Niremizov commentedI thought in Views, it is already possible to use Global:Contextual links field, for that purpose.
But I was talking about admin/config/user-interface/ccl page, where we can add new contextual links to nodes. Thus, it would be cool if there was an ability to add ccl to custom entities. This is useful, when you output contextual links programmatically, without using Views.
Comment #3
mrharolda commentedI have a patch here that transforms CCL's core 'node' selector to an 'entity > bundle' selection. This however is quite a rebuild that affects allmost all code in
ccl.moduleandccl.admin.inc, so I decided to leave those alone and builld another submodule, that could eventualy replace CCL core's node-implementation (as nodes are also just entities).Implementing the ccl_entity support for your custom entity could be a matter of implementing 2 simple hooks, but unfortunately this still only lives in my head ;)
More to follow somewhere in the future!
Comment #4
adamgerthel commentedAny updates on this? Support for any entity would be very useful
Comment #5
bkoether commentedI'm putting everything that is a new feature on hold until I'm able to clean up the issue queue and until after a possible D8 migration.
Comment #6
bkoether commentedI'm closing this as no further feature development for the 7 branch will happen. However, I will add this as a possible feature for the D8 version.