Skip to content

Commit

Permalink
Merge pull request #1774 from acquia/ACMS-3476
Browse files Browse the repository at this point in the history
ACMS-3476: Managing hard dependency of Acquia CMS Headless module.
  • Loading branch information
vishalkhode1 authored Mar 15, 2024
2 parents a21a92a + 82d1419 commit 573639d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/acquia_cms_headless/acquia_cms_headless.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ dependencies:
- consumers:consumers
- 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 573639d

Please sign in to comment.