drupal / content_search
Drupal recipe providing search functionality.
Package info
git.drupalcode.org/project/content_search.git
Type:drupal-recipe
pkg:composer/drupal/content_search
Requires
- drupal/core: ^11.3
- drupal/search: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Overview
The Content Search recipe that was originally in Drupal core's standard profile/recipes, and is in the process of being removed.
Requirements
- Drupal core
^11.3 drupal/searchmodule enabled in the target site- Drush 12+ (or an equivalent tool capable of installing recipes)
Installation
- Require this recipe in your project root:
composer require drupal/content_search - Apply the recipe to an existing site:
drush recipes:install vendor/drupal/content_search/recipe.ymlRun the command from a fully bootstrapped Drupal site.
Testing
Functional coverage lives under tests/src/Functional/. Execute the suite
against a built test site with:
vendor/bin/phpunit --testsuite functional --group content_search
Ensure the test environment has the recipe installed so the form routes and permissions are available.
Background
The recipe originated in Drupal core’s Standard profile and is being maintained in contrib here.