Problem/Motivation

webform_handler_field_submission_link doesn't render the same way as views_handler_field_node_link and therefor can't be used with the dropdown links views_handler_field_ctools_dropdown field handler

Steps to reproduce

Add a view with a
Webform submissions: View link or
Webform submissions: Edit link or
Webform submissions: Delete link
Then add a Global: Dropdown links with one or all of the links above.
The result is they don't show (because they don't generate a last_render_text in views_handler_field_links::get_links used by views_handler_field_ctools_dropdown)

Proposed resolution

Change them to work like views_handler_field_node_link instead of using the l() to render the links

Remaining tasks

User interface changes

API changes

Data model changes

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new2.23 KB
liam morland’s picture

Thanks for the patch. Is it feasible to write a test for this?

joelpittet’s picture

@Liam Morland, we hoping to migrate to D9/D10 and focusing our efforts there, so to answer #3, not likely feasible.

liam morland’s picture

Status: Needs review » Closed (outdated)

Drupal 7 is no longer supported. If this applies to a supported version, please re-open.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.