Needs review
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2015 at 07:50 UTC
Updated:
3 May 2019 at 13:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stborchertPatch introduces the new function.
Example usage in custom field handler class:
Comment #3
drupalove commentedIs it useful to have this in Drupal 8? If yes, will the backport policy apply?
Comment #4
stborchertYes, this may apply to Drupal 8, too.
But: after looking at FieldPluginBase::renderAsLink() I guess one can simply override the renderer used for the custom field handler and inject the modifications into the render-array.
Comment #5
chris matthews commentedThe 3 year old patch in #2 to views_handler_field.inc does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.
Comment #6
andrew answer commentedPatch rerolled.