Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.rest.resource.yml
1 description: 'Generate plugin rest resource'
2 help: 'The <info>generate:plugin:rest:resource</info> command helps you generate a new rest resource.'
3 welcome: 'Welcome to the Drupal Plugin Rest Resource generator'
4 options:
5   module: 'The Module name.'
6   class: 'Plugin Rest Resource class'
7   plugin-id: 'Plugin Rest Resource id'
8   plugin-label: 'Plugin Rest Resource Label'
9   plugin-url: 'Plugin Rest Resource URL'
10   plugin-states: 'Plugin Rest Resource States'
11 questions:
12   module: 'Enter the module name'
13   class: 'Enter the plugin rest resource class name'
14   plugin-id: 'Enter the plugin rest resource id'
15   plugin-label: 'Enter the plugin rest resource label'
16   plugin-url: 'Enter the plugin rest resource url'
17   plugin-states: 'Please select what REST States implement in your resource (GET is selected by default)'
18 messages:
19   selected-states: 'States selected'
20 examples:
21   - description: 'Generate a rest resource plugin using GET specifying the module name, the class, the plugin id, its label, the target url and the request type'
22     execution: |
23       drupal generate:plugin:rest:resource  \
24         --module="modulename"  \
25         --class="DefaultRestResource"  \
26         --plugin-id="default_rest_resource"  \
27         --plugin-label="Default rest resource"  \
28         --plugin-url="http://rest.resources.example.com"  \
29         --plugin-states='GET'