Skip to content

Commit

Permalink
ACMS-3476: Managing hard dependency of Acquia CMS Headless module.
Browse files Browse the repository at this point in the history
  • Loading branch information
apathak18 committed Mar 13, 2024
1 parent a10c2a1 commit a049bf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/acquia_cms_headless/acquia_cms_headless.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ dependencies:
- jsonapi_extras:jsonapi_extras
- jsonapi_menu_items:jsonapi_menu_items
- jsonapi_resources:jsonapi_resources
- next:next
- next:next_jsonapi
- openapi_jsonapi:openapi_jsonapi
- openapi_ui:openapi_ui
- openapi_ui_redoc:openapi_ui_redoc
- openapi_ui_swagger:openapi_ui_swagger
- drupal:rest
- restui:restui
- simple_oauth:simple_oauth
3 changes: 3 additions & 0 deletions modules/acquia_cms_headless/acquia_cms_headless.install
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ function acquia_cms_headless_install($is_syncing) {

// Adds the necessary permissions to roles.
add_next_site_permissions();

// Install the restui module.
\Drupal::service('module_installer')->install(['restui']);
}
}

Expand Down

0 comments on commit a049bf1

Please sign in to comment.