Skip to content

Commit

Permalink
Merge pull request #18 from discoverygarden/fix/drush-12
Browse files Browse the repository at this point in the history
DGI9-477: Fix/drush 12
  • Loading branch information
nchiasson-dgi authored May 13, 2024
2 parents 077b258 + 15cd031 commit 9b34d20
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"extra": {
"drush": {
"services": {
"drush.services.yml": "^9 || ^10"
"drush.9-11.services.yml": "^9 || ^10 || ^11"
}
}
}
Expand Down
19 changes: 19 additions & 0 deletions drush.9-11.services.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
services:
content_sync.commands:
class: \Drupal\content_sync\Drush\Commands\ContentSyncCommands
arguments:
- '@content.storage'
- '@content.storage.sync'
- '@content_sync.manager'
- '@entity_type.manager'
- '@content_sync.exporter'
- '@module_handler'
- '@event_dispatcher'
- '@lock'
- '@config.typed'
- '@module_installer'
- '@theme_handler'
- '@string_translation'
tags:
- { name: drush.command }
8 changes: 0 additions & 8 deletions drush.services.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Drupal\content_sync\Commands;
namespace Drupal\content_sync\Drush\Commands;

use Drupal\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Console\Input\InputInterface;
Expand Down

0 comments on commit 9b34d20

Please sign in to comment.