Skip to content

Add installer paths for drupal custom modules and themes #517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add installer paths for drupal custom modules and themes #517

wants to merge 1 commit into from

Conversation

rjtownsend
Copy link

@rjtownsend rjtownsend commented Sep 10, 2019

Add install paths for types drupal-custom-modules and drupal-custom-themes, otherwise they are installed by composer/installers in /themes/custom/{$name} or /modules/custom/{$name}.

Use case:
composer create-project drupal-composer/drupal-project:8.x-dev some-dir --no-interaction
composer require vendor/drupal-install-profile

If the drupal-install-profile has a composer.json file that requires any custom modules or themes (ie. "type": "drupal-custom-module" or "type": "drupal-custom-theme", they are not placed in the /web directory but installed outside the web root. Additionally, you cannot use "extra" data within a nested composer.json file if you want to set the installer-path to the /web directory.

@AlexSkrypnyk
Copy link
Collaborator

This pull request/issue has been inactive for over a year and is being closed due to inactivity. If the issue still persists or the contribution is still relevant, please feel free to reopen it or create a new one.

Thank you for your understanding and your contributions to the project!

@AlexSkrypnyk
Copy link
Collaborator

@rjtownsend
We will review the implementation in #646

If we decide to proceed - we will open 2 new PRs for 10.x and 11.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants