This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"extra": { | |
"installer-paths": { | |
"web/core": ["type:drupal-core"], | |
"web/modules/contrib/{$name}": ["type:drupal-module"], | |
"web/libraries/{$name}": ["type:drupal-library"], | |
"web/profiles/contrib/{$name}": ["type:drupal-profile"], | |
"web/themes/contrib/{$name}": ["type:drupal-theme"], | |
"drush/contrib/{$name}": ["type:drupal-drush"] | |
}, | |
"patches": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local development services. | |
# | |
# To activate this feature, follow the instructions at the top of the | |
# 'example.settings.local.php' file, which sits next to this file. | |
services: | |
cache.backend.null: | |
class: Drupal\Core\Cache\NullBackendFactory | |
parameters: | |
twig.config: | |
debug : true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Load a drushrc.php file from the 'drush' folder at the root | |
// of the current git repository. | |
exec('git rev-parse --git-dir 2> /dev/null', $output); | |
if (!empty($output)) { | |
$repo = $output[0]; | |
$options['config'] = $repo . '/../drush/drushrc.php'; | |
$options['include'] = $repo . '/../drush/commands'; | |
$options['alias-path'] = $repo . '/../drush/aliases'; | |
} |
OlderNewer