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.
Problem/Motivation
The header is defined as:
// List tracked content types.
$headers = array(
'Content Type',
'Machine Name',
'Revisions to Keep',
'Candidate nodes',
' ',
);
But Drupal use the strings as '[Upper]aaaaa [lower]bbbbb.
Proposed resolution
Change the strings to, and change the last header to 'Operations'
// List tracked content types.
$headers = array(
'Content type',
'Machine name',
'Revisions to keep',
'Candidate nodes',
'Operations',
);
Remaining tasks
None.
User interface changes
In the Node Revision Delete Administration Page (admin/config/content/node_revision_delete) you will see the table header like this:
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#4 | beforenode_delete.png | 11.29 KB | rodrigoac |
#4 | afternode_delete.png | 11.93 KB | rodrigoac |
#2 | improve_table_header-2869163-2.patch | 613 bytes | adriancid |
admin-ndr.png | 42.36 KB | adriancid |
Comments
Comment #2
adriancidComment #3
rodrigoac CreditAttribution: rodrigoac at CI&T commentedComment #4
rodrigoac CreditAttribution: rodrigoac at CI&T commentedHi people!
I apply the patch and works good for me !
Thanks @adriancid !
Comment #5
rodrigoac CreditAttribution: rodrigoac at CI&T commentedComment #7
adriancidComment #9
adriancid