Skip to content
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

Allow dependencies of parent profiles to be uninstalled #3525

Merged
merged 1 commit into from
Oct 28, 2017
Merged

Allow dependencies of parent profiles to be uninstalled #3525

merged 1 commit into from
Oct 28, 2017

Conversation

balsama
Copy link
Contributor

@balsama balsama commented Sep 18, 2017

Drupal core #1356276 allows for profiles to be set as a parent profile and for child profiles to inherit from parents. This allows for more than one profile to be installed on a site.

Drupal (and Drush and Drupal Console) has always made exceptions for dependencies of Profiles in that you can actually uninstall dependencies of Profiles without uninstalling the Profile itself. This patch makes the same exception for parent profiles. Or rather, adds all profiles to a list of dependents to exclude instead of just the active/last profile.

It includes a check to see if the patch has been applied to core and works around it if not.

@jmolivas jmolivas added this to the 1.1.0 milestone Sep 22, 2017
@jmolivas jmolivas merged commit cb02dc9 into hechoendrupal:master Oct 28, 2017
@jmolivas
Copy link
Member

@balsama Thanks for your contribution, your PR was merged. This will be included in the next release.

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.

None yet

2 participants