17 lines
474 B
PHP
17 lines
474 B
PHP
|
<?php
|
||
|
namespace Composer\Installers;
|
||
|
|
||
|
class DrupalInstaller extends BaseInstaller
|
||
|
{
|
||
|
protected $locations = array(
|
||
|
'core' => 'core/',
|
||
|
'module' => 'modules/{$name}/',
|
||
|
'theme' => 'themes/{$name}/',
|
||
|
'library' => 'libraries/{$name}/',
|
||
|
'profile' => 'profiles/{$name}/',
|
||
|
'drush' => 'drush/{$name}/',
|
||
|
'custom-theme' => 'themes/custom/{$name}/',
|
||
|
'custom-module' => 'modules/custom/{$name}/',
|
||
|
);
|
||
|
}
|