Node Module does not have an option to add custom filters in status dropdown in admin/content page.

Created on 26 July 2012, about 12 years ago
Updated 7 March 2024, 6 months ago

Hi,

I wanted to add a custom filter that shows in status dropdown in admin/content page but I did not find any hook to add it.

I have added drupal_alter at the end of node_filters function in node.admin.inc and used below hook in my custom module which is working fine for me to add custom filters.

/**
* Implements hook_node_custom_filters_alter().
*/
function hook_node_custom_filters_alter(&$data, $context) {

}

Please find the attachment of the patch that I have used to fix this issue

Feature request
Status

Closed: outdated

Version

11.0 🔥

Component
Node system 

Last updated 1 minute ago

No maintainer
Created by

🇮🇳India Jalandhar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024