Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 805 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 805 Bytes

Exclude Bundles

A custom Drupal module that allows an administrator to exclude bundles (aka Content Types) from the Search results.

Installation and Configuration Steps

  1. Download the module to your custom modules directory at /web/modules/custom.
  2. Go to the Modules page at /admin/modules.
  3. In the module list, find the "Exclude Bundles" module, select its checkbox and click Install.
  4. Go to the module administration page at /admin/config/search/bundles and check the Content Types that you want to exlude from the search results.
  5. Click Save.
  6. Clear caches.

Credits

Search by Content Type in Drupal 8 - a custom module tutorial by Mike Purvis.