Browse Source

updates for drupal 10

2.x
ppound 2 years ago
parent
commit
d4aad3318f
  1. 5
      modules/roblib_search_eds/roblib_search_eds.info.yml
  2. 3
      modules/roblib_search_eds/src/Lib/EBSCOConnector.php
  3. 4
      modules/solr_site/roblib_search_solr_site.info.yml
  4. 8
      roblib_search.info.yml

5
modules/roblib_search_eds/roblib_search_eds.info.yml

@ -3,7 +3,6 @@ type: module
configure: roblib_search_eds.settings configure: roblib_search_eds.settings
description: Implements the Roblib Search EDS book and article results description: Implements the Roblib Search EDS book and article results
package: Roblib Search package: Roblib Search
core_version_requirement: ^8.9 || ^9 core_version_requirement: ^9 || ^10
dependancies: dependancies:
- roblib_search - roblib_search
- ebsco

3
modules/roblib_search_eds/src/Lib/EBSCOConnector.php

@ -432,6 +432,9 @@ class EBSCOConnector {
$xml = FALSE; $xml = FALSE;
$return = FALSE; $return = FALSE;
$data = NULL; $data = NULL;
if(!is_array($headers)){
$headers = [];
}
// Add compression in case its not there. // Add compression in case its not there.
array_push($headers, 'Content-Type: text/xml'); array_push($headers, 'Content-Type: text/xml');

4
modules/solr_site/roblib_search_solr_site.info.yml

@ -3,6 +3,6 @@ type: module
configure: roblib_search_solr_site.settings configure: roblib_search_solr_site.settings
description: Implements the Roblib Search for local Solr site bento results description: Implements the Roblib Search for local Solr site bento results
package: Roblib Search package: Roblib Search
core_version_requirement: ^8.9 || ^9 core_version_requirement: ^9 || ^10
dependancies: dependancies:
- roblib_search - roblib_search

8
roblib_search.info.yml

@ -1,10 +1,10 @@
name: Roblib Search name: Roblib Search
type: module type: module
core_version_requirement: ^8.9 || ^9 core_version_requirement: ^9 || ^10
configure: roblib_search.settings configure: roblib_search.settings
description: Provides a search form and fires a hook when the search is submitted. Other modules should implement the search functionality by implementing the correct hooks. description: Provides a search form and fires a hook when the search is submitted. Other modules should implement the search functionality by implementing the correct hooks.
package: Roblib Search package: Roblib Search
dependancies: dependancies:
- apachesolr_access - drupal:views_ui
- views_ui - drupal:message
- message
Loading…
Cancel
Save