Skip to content

Commit

Permalink
[console] Update services name. (#3290)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolivas committed Apr 30, 2017
1 parent afe1413 commit ab67ec3
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 28 deletions.
4 changes: 2 additions & 2 deletions config/services/drupal-console/feature.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
services:
feature_debug:
console.feature_debug:
class: Drupal\Console\Command\Features\DebugCommand
tags:
- { name: drupal.command }
feature_import:
console.feature_import:
class: Drupal\Console\Command\Features\ImportCommand
tags:
- { name: drupal.command }
6 changes: 3 additions & 3 deletions config/services/drupal-console/locale.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
services:
translation_status:
console.translation_status:
class: Drupal\Console\Command\Locale\TranslationStatusCommand
arguments: ['@console.site', '@console.extension_manager']
tags:
- { name: drupal.command }
language_delete:
console.language_delete:
class: Drupal\Console\Command\Locale\LanguageDeleteCommand
arguments: ['@console.site', '@entity_type.manager', '@module_handler']
tags:
- { name: drupal.command }
language_add:
console.language_add:
class: Drupal\Console\Command\Locale\LanguageAddCommand
arguments: ['@console.site', '@module_handler']
tags:
Expand Down
15 changes: 7 additions & 8 deletions config/services/drupal-console/module.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
services:
module_debug:
console.module_debug:
class: Drupal\Console\Command\Module\DebugCommand
arguments: ['@console.configuration_manager', '@console.site', '@http_client']
tags:
- { name: drupal.command }
module_dependency_install:
console.module_dependency_install:
class: Drupal\Console\Command\Module\InstallDependencyCommand
arguments: ['@console.site', '@console.validator', '@module_installer', '@console.chain_queue']
tags:
- { name: drupal.command }

module_download:
console.module_download:
class: Drupal\Console\Command\Module\DownloadCommand
arguments: ['@console.drupal_api', '@http_client', '@app.root', '@console.extension_manager', '@console.validator', '@console.site', '@console.configuration_manager', '@console.shell_process', '@console.root']
tags:
- { name: drupal.command }
module_install:
console.module_install:
class: Drupal\Console\Command\Module\InstallCommand
arguments: ['@console.site', '@console.validator', '@module_installer', '@console.drupal_api', '@console.extension_manager', '@app.root', '@console.chain_queue']
tags:
- { name: drupal.command }
module_path:
console.module_path:
class: Drupal\Console\Command\Module\PathCommand
arguments: ['@console.extension_manager']
tags:
- { name: drupal.command }
module_uninstall:
console.module_uninstall:
class: Drupal\Console\Command\Module\UninstallCommand
arguments: ['@console.site','@module_installer', '@console.chain_queue', '@config.factory', '@console.extension_manager']
tags:
- { name: drupal.command }
module_update:
console.module_update:
class: Drupal\Console\Command\Module\UpdateCommand
arguments: ['@console.shell_process', '@console.root']
tags:
Expand Down
2 changes: 1 addition & 1 deletion config/services/drupal-console/router.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
services:
router_debug:
console.router_debug:
class: Drupal\Console\Command\Router\DebugCommand
arguments: ['@router.route_provider']
tags:
Expand Down
10 changes: 5 additions & 5 deletions config/services/drupal-console/theme.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
services:
theme_debug:
console.theme_debug:
class: Drupal\Console\Command\Theme\DebugCommand
arguments: ['@config.factory', '@theme_handler']
tags:
- { name: drupal.command }
theme_download:
console.theme_download:
class: Drupal\Console\Command\Theme\DownloadCommand
arguments: ['@console.drupal_api', '@http_client', '@app.root']
tags:
- { name: drupal.command }
theme_install:
console.theme_install:
class: Drupal\Console\Command\Theme\InstallCommand
arguments: ['@config.factory', '@theme_handler', '@console.chain_queue']
tags:
- { name: drupal.command }
theme_path:
console.theme_path:
class: Drupal\Console\Command\Theme\PathCommand
arguments: ['@console.extension_manager']
tags:
- { name: drupal.command }
theme_uninstall:
console.theme_uninstall:
class: Drupal\Console\Command\Theme\UninstallCommand
arguments: ['@config.factory', '@theme_handler', '@console.chain_queue']
tags:
Expand Down
8 changes: 4 additions & 4 deletions config/services/drupal-core/migrate.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
services:
migrate_rollback:
console.migrate_rollback:
class: Drupal\Console\Command\Migrate\RollBackCommand
arguments: ['@plugin.manager.migration']
tags:
- { name: drupal.command }
migrate_execute:
console.migrate_execute:
class: Drupal\Console\Command\Migrate\ExecuteCommand
arguments: ['@plugin.manager.migration']
tags:
- { name: drupal.command }
migrate_debug:
console.migrate_debug:
class: Drupal\Console\Command\Migrate\DebugCommand
arguments: ['@plugin.manager.migration']
tags:
- { name: drupal.command }
migrate_setup:
console.migrate_setup:
class: Drupal\Console\Command\Migrate\SetupCommand
arguments: ['@state', '@plugin.manager.migration']
tags:
Expand Down
6 changes: 3 additions & 3 deletions config/services/drupal-core/rest.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
services:
rest_debug:
console.rest_debug:
class: Drupal\Console\Command\Rest\DebugCommand
arguments: ['@plugin.manager.rest']
tags:
- { name: drupal.command }
rest_disable:
console.rest_disable:
class: Drupal\Console\Command\Rest\DisableCommand
arguments: ['@config.factory', '@plugin.manager.rest']
tags:
- { name: drupal.command }
rest_enable:
console.rest_enable:
class: Drupal\Console\Command\Rest\EnableCommand
arguments: ['@plugin.manager.rest', '@authentication_collector', '@config.factory', '%serializer.formats%', '@entity.manager']
tags:
Expand Down
4 changes: 2 additions & 2 deletions config/services/drupal-core/simpletest.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
services:
test_debug:
console.test_debug:
class: Drupal\Console\Command\Test\DebugCommand
arguments: ['@test_discovery']
tags:
- { name: drupal.command }
test_run:
console.test_run:
class: Drupal\Console\Command\Test\RunCommand
arguments: ['@app.root', '@test_discovery', '@module_handler', '@date.formatter']
tags:
Expand Down

0 comments on commit ab67ec3

Please sign in to comment.