Browse Source

made module deployable using packagist

main
Paul Pound 5 days ago
parent
commit
8c751a8a83
  1. 7
      README.md
  2. 25
      composer.json

7
README.md

@ -9,12 +9,13 @@ Replaces the equivalent code that previously lived in individual themes
## Install
Copy this directory to `web/modules/custom/preserve_advanced_search` on each
site, then:
composer require roblib/preserve_advanced_search
drush en preserve_advanced_search
drush cr
Or copy this directory to `web/modules/custom/preserve_advanced_search` and
enable it as above.
## Scope
`hook_library_info_alter()` appends this module's library to the dependencies of

25
composer.json

@ -0,0 +1,25 @@
{
"name": "roblib/preserve_advanced_search",
"type": "drupal-module",
"description": "Keeps advanced search a[] query parameters attached to facet slider URLs built by the server.",
"keywords": ["Drupal", "facets", "search"],
"homepage": "https://git.library.upei.ca/Code/preserve_advanced_search",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Paul Pound",
"role": "Maintainer"
}
],
"support": {
"source": "https://git.library.upei.ca/Code/preserve_advanced_search",
"issues": "https://git.library.upei.ca/Code/preserve_advanced_search/issues"
},
"require": {
"php": ">=8.1",
"drupal/core": "^10 || ^11"
},
"suggest": {
"drupal/facets": "Provides the facets_range_nouislider submodule whose library this module alters."
}
}
Loading…
Cancel
Save