Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Copying from admin_menu.map.inc:
// @todo Make Comment module expose the original node type bundle,
// pretty please.
if (drupal_substr($bundle_name, 0, 13) == 'comment_node_') {
$bundle_name = drupal_substr($bundle_name, 13);
}
Comment | File | Size | Author |
---|---|---|---|
#6 | drupal8.comment-node-bundle.6.patch | 776 bytes | sun |
drupal.comment-node-bundle.0.patch | 951 bytes | sun | |
Comments
Comment #1
sundrupal.comment-node-bundle.0.patch queued for re-testing.
Comment #2
dixon_Comment #3
sunComment #4
sundrupal.comment-node-bundle.0.patch queued for re-testing.
Comment #6
sunRe-rolled against latest branch head.
Comment #7
dixon_To me this looks like a sensible addition. The patch is very simple, and looks good to me.
Comment #8
dixon_The patch applies without offset to D7. So should be ready for straight backport.
Comment #9
catchLooks good to me as well, I'm pretty sure I've had to figure out the node type back from the comment before as well.
Committed to 8.x, moving to 7.x for webchick to consider.
Comment #10
webchickThis seems like a pretty harmless and convenient API addition. I'm comfortable committing to 7.x as well.
Committed/pushed. Thanks!