Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rest resource command (#3869)
* [plugin:rest:resource] Delete plugin id and update template * [rest:enable] Fix translation key * [rest:commands] Update and fix bug in rest commands * [rest:enable] Fixed translation strings
- Loading branch information
1 parent
5fdb488
commit 6f42420
Showing
8 changed files
with
149 additions
and
128 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
services: | ||
console.rest_disable: | ||
class: Drupal\Console\Command\Rest\DisableCommand | ||
arguments: ['@config.factory', '@?plugin.manager.rest'] | ||
arguments: ['@entity_type.manager', '@?plugin.manager.rest'] | ||
tags: | ||
- { name: drupal.command } | ||
console.rest_enable: | ||
class: Drupal\Console\Command\Rest\EnableCommand | ||
arguments: | ||
- '@entity_type.manager' | ||
- '@?plugin.manager.rest' | ||
- '@authentication_collector' | ||
- '@config.factory' | ||
- '@entity.manager' | ||
tags: | ||
- { name: drupal.command } |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.