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.
Hi,
I wanted to alter the content list table on admin/content/types
as I wanted to add one more operation to the operation list
but I could not alter it because it does not have any hook or
alter function assigned to it.
So I think there should be a way in which other module developers
should be able to alter it without touching the content.admin.inc file.
So I thought of using the drupal_alter function to allow other modules
to alter the header as well as row.
I am attaching the patch below.
Comment | File | Size | Author |
---|---|---|---|
content.admin_.inc_.patch | 765 bytes | junedkazi |
Comments
Comment #1
junedkazi CreditAttribution: junedkazi commentedHi
so according to the above patch one can alter the headers using the following function
similar in case of row
Comment #2
junedkazi CreditAttribution: junedkazi commentedComment #3
junedkazi CreditAttribution: junedkazi commentedComment #4
markus_petrux CreditAttribution: markus_petrux commentedThe order of the issues does not change the result, so I'm marking this as a dup of that.
- #596428: Ability to alter content type list (committed to CCK2 and CCK3)