Drupal core's Extend page has a filter box that finds modules as you type. This module brings the same instant filtering to other admin listings: content types, vocabularies, menus, roles and more.

Features

  • Instant client-side filtering as you type — no AJAX, no server load.
  • No custom JavaScript. It reuses Drupal core's own system/drupal.system.modules library, the same code that powers the Extend page.
  • Zero configuration. Install it and the filter appears; there is no settings page.
  • Works on both standard and draggable (weighted) entity listings.

Filtering is added to these core entity listings:

Admin path Listing
/admin/structure/types Content types
/admin/structure/taxonomy Vocabularies
/admin/structure/menu Menus
/admin/structure/media Media types
/admin/structure/block-content Block types
/admin/structure/comment Comment types
/admin/people/roles Roles
/admin/config/content/formats Text formats
/admin/config/media/image-styles Image styles
/admin/config/media/responsive-image-style Responsive image styles
/admin/config/regional/language Languages
/admin/config/regional/date-time Date formats
/admin/config/workflow/workflows Workflows
/admin/reports/fields Field storage
/admin/config/search/pages Search pages *
/admin/structure/contact Contact forms *
/admin/config/user-interface/shortcut Shortcut sets *

* The Search, Contact and Shortcut modules were removed from Drupal core in Drupal 12 and are now contributed projects. On Drupal 11 these three listings work out of the box. On Drupal 12 they are filtered only if you install the corresponding contributed module; if you do not, nothing breaks — the listing simply has no filter.

Two contributed entity types are supported automatically when their module is installed:

  • Pathauto — /admin/config/search/path/patterns
  • Metatag — /admin/config/search/metatag

These admin pages are deliberately not supported, because their markup cannot be filtered without hiding the wrong things: /admin/structure/display-modes/form and /admin/structure/display-modes/view (grouped tables, where the filter cannot hide section headers) and /admin/structure/block (region-based drag-and-drop layout).

Post-Installation

There is nothing to configure. Install and enable the module, rebuild caches, and visit any supported admin listing — a Filter box appears above the table. Type part of a label and non-matching rows are hidden as you type.

Under the hood the module implements hook_entity_type_alter() to swap each supported entity type's list builder for a subclass that extends core's own. All existing behaviour, including drag-and-drop weighting and operations links, is preserved; the subclass only adds the search input, the table-filter-text class on it, and the table-filter-text-source class on the searchable cells.

Additional Requirements

Drupal ^11.1 || ^12. No libraries, no external services, and no dependencies beyond Drupal core.

Drupal 11.1 is the floor because the module uses core's #[Hook] attribute for its hook implementation. Sites on Drupal 10 should use the 1.0.0 release, which supports ^10.3 || ^11 and is no longer maintained.

composer require drupal/admin_list_filter
drush en admin_list_filter
drush cr

None are required. If Pathauto or Metatag is installed, their listings gain the same filter automatically. On Drupal 12, installing the contributed Search, Contact or Shortcut modules restores filtering on those three pages.

Similar projects

Core already ships this behaviour on /admin/modules and /admin/people/permissions. This module does not replace or alter those; it extends the same pattern to listings core leaves unfiltered, using core's own library rather than a second implementation.

Supporting this Module

Maintained by City of Oaks Design. Issues and merge requests are welcome in the issue queue.

Community Documentation

The README in the repository covers the architecture and how to add support for a new entity type.

Supporting organizations: 
Development

Project information

Releases