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

Update site-install to use the recently added $class_loader parameter #1051

Merged
merged 2 commits into from Dec 15, 2014

Conversation

tstoeckler
Copy link
Contributor

https://www.drupal.org/node/2386247 added a $class_loader parameter to install_drupal().

This pull request updates the site-install command to account for that.

Note that Drupal currently has a BC-layer so that the current site-install implementation does not break.

Also note that unfortunately this will break site-install on anything other than the latest 8.0.x.

See also https://www.drupal.org/node/2389243

@weitzman
Copy link
Member

Looks good but this file is currently used for D7 as well. You can make this line conditional on D8 or duplicate this file and name the current one site_install7.inc

@tstoeckler
Copy link
Contributor Author

Oops, yeah, that's a problem.

But I mean who still uses D7 theses days... :-)

I went for separate files.
I also separated the existing D7/D8 check for the locale/langcode parameter.

weitzman added a commit that referenced this pull request Dec 15, 2014
Update site-install to use the recently added $class_loader parameter
@weitzman weitzman merged commit ad5456a into drush-ops:master Dec 15, 2014
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