Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Having the clone link always read as "Clone content" seems a little unfriendly to me. Here's a patch that offers an admin setting to include the node type name in the clone link, so if set, it will read something like "Clone article" rather than "Clone content".
Comment | File | Size | Author |
---|---|---|---|
#6 | 1137178-5.patch | 2.13 KB | pwolanin |
#4 | node_clone-node-type-on-clone-link-1137178.patch | 2.18 KB | mstef |
node_clone-node-type-on-clone-link.patch | 2.16 KB | mstef |
Comments
Comment #1
pwolanin CreditAttribution: pwolanin commentednice idea. to lower-case probably should use:
http://api.drupal.org/api/drupal/includes--unicode.inc/function/drupal_s...
Comment #2
mstef CreditAttribution: mstef commentedNo objections to that. Actually didn't know that wrapper existed.
Comment #3
pwolanin CreditAttribution: pwolanin commentedcan you re-roll with that?
Comment #4
mstef CreditAttribution: mstef commentedThis should do it
Comment #6
pwolanin CreditAttribution: pwolanin commentedSorry to have left this for so long.
re-rolled and committed.