Skip to content

Commit

Permalink
Merge branch 'release/3.0.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
krakerag committed Apr 3, 2023
2 parents 304d078 + 11a15b7 commit fbb9edc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# To ignore OS temporary files use global .gitignore
# https://help.github.com/articles/ignoring-files/#create-a-global-gitignore

.idea
/composer.lock
/composer.build.json
/composer.build.lock
Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"require": {
"dpc-sdp/tide_core": "^3.1.12",
"drupal/jsonapi_extras": "^3.8",
"drupal/jsonapi_menu_items": "^1.2",
"drupal/schemata": "^1.0-alpha2"
},
"extra": {
Expand All @@ -17,6 +18,9 @@
},
"drupal/jsonapi_extras": {
"Make max value of page[limit] configurable per entity/bundle - https://www.drupal.org/project/jsonapi_extras/issues/2884292#comment-14794882": "https://www.drupal.org/files/issues/2022-11-21/max_page_limit_configuration-2884292-33.patch"
},
"drupal/jsonapi_menu_items": {
"Allow filtering of response payload - https://www.drupal.org/project/jsonapi_menu_items/issues/3350524": "https://www.drupal.org/files/issues/2023-03-31/filter_fields.patch"
}
}
},
Expand Down
1 change: 1 addition & 0 deletions tide_api.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package: Tide
core_version_requirement: ^8.9 || ^9
dependencies:
- drupal:jsonapi_extras (>=8.x-3.8)
- drupal:jsonapi_menu_items (^1.2)
- drupal:schemata
- drupal:schemata_json_schema
config_devel:
Expand Down
9 changes: 9 additions & 0 deletions tide_api.install
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ function tide_api_update_8001() {
$jsonapi_settings->set('read_only', FALSE)
->save(TRUE);
}

/**
* Activate jsonapi_menu_items.
*/
function tide_api_update_8002() {
\Drupal::service('module_installer')->install([
'jsonapi_menu_items',
], TRUE);
}

0 comments on commit fbb9edc

Please sign in to comment.