Skip to content

Commit a1627d7

Browse files
committed
Add type drupal-database-driver
1 parent 7d610d5 commit a1627d7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ is not needed to install packages with these frameworks:
5353
| Dframe | `dframe-module`
5454
| DokuWiki | `dokuwiki-plugin`<br>`dokuwiki-template`
5555
| Dolibarr | `dolibarr-module`
56-
| Drupal | <b>`drupal-core`<br>`drupal-module`<br>`drupal-theme`</b><br>`drupal-library`<br>`drupal-profile`<br>`drupal-drush`<br>`drupal-custom-theme`<br>`drupal-custom-module`<br>`drupal-custom-profile`<br>`drupal-drupal-multisite`<br>`drupal-console`<br>`drupal-console-language`<br>`drupal-config`
56+
| Drupal | <b>`drupal-core`<br>`drupal-module`<br>`drupal-theme`</b><br>`drupal-library`<br>`drupal-profile`<br>`drupal-database-driver`<br>`drupal-drush`<br>`drupal-custom-theme`<br>`drupal-custom-module`<br>`drupal-custom-profile`<br>`drupal-drupal-multisite`<br>`drupal-console`<br>`drupal-console-language`<br>`drupal-config`
5757
| Elgg | `elgg-plugin`
5858
| Eliasis | `eliasis-component`<br>`eliasis-module`<br>`eliasis-plugin`<br>`eliasis-template`
5959
| ExpressionEngine 3 | `ee3-addon`<br>`ee3-theme`

src/Composer/Installers/DrupalInstaller.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class DrupalInstaller extends BaseInstaller
99
'theme' => 'themes/{$name}/',
1010
'library' => 'libraries/{$name}/',
1111
'profile' => 'profiles/{$name}/',
12+
'database-driver' => 'drivers/lib/Drupal/Driver/Database/{$name}/',
1213
'drush' => 'drush/{$name}/',
1314
'custom-theme' => 'themes/custom/{$name}/',
1415
'custom-module' => 'modules/custom/{$name}/',

tests/Composer/Installers/Test/InstallerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function dataForTestSupport()
126126
array('drupal-theme', true),
127127
array('drupal-library', true),
128128
array('drupal-profile', true),
129+
array('drupal-database-driver', true),
129130
array('drupal-drush', true),
130131
array('drupal-custom-theme', true),
131132
array('drupal-custom-module', true),
@@ -316,6 +317,7 @@ public function dataForTestInstallPath()
316317
array('drupal-theme', 'themes/my_theme/', 'shama/my_theme'),
317318
array('drupal-library', 'libraries/my_library/', 'shama/my_library'),
318319
array('drupal-profile', 'profiles/my_profile/', 'shama/my_profile'),
320+
array('drupal-database-driver', 'drivers/lib/Drupal/Driver/Database/my_driver/', 'shama/my_driver'),
319321
array('drupal-drush', 'drush/my_command/', 'shama/my_command'),
320322
array('drupal-custom-theme', 'themes/custom/my_theme/', 'shama/my_theme'),
321323
array('drupal-custom-module', 'modules/custom/my_module/', 'shama/my_module'),

0 commit comments

Comments
 (0)