X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrupal%2Fconsole-core%2Fdist%2Fchain%2Fsample.yml;fp=vendor%2Fdrupal%2Fconsole-core%2Fdist%2Fchain%2Fsample.yml;h=d962f524b67b00a20759ca6fc8f4e961606de98c;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/vendor/drupal/console-core/dist/chain/sample.yml b/vendor/drupal/console-core/dist/chain/sample.yml new file mode 100644 index 000000000..d962f524b --- /dev/null +++ b/vendor/drupal/console-core/dist/chain/sample.yml @@ -0,0 +1,113 @@ +command: + name: generate:example:module + description: 'Generate example module' +commands: + - command: generate:module + options: + module: Example module + machine-name: example + module-path: /modules/custom/ + description: My example module + core: 8.x + package: Custom + dependencies: + - command: generate:controller + options: + module: example + class: HelloWorldController + routes: + - title: 'Hello World' + name: 'example.hello_name' + method: hello + path: '/example/hello/{name}' + services: + - entity_field.manager + - theme_handler + - config.factory + test: true + - command: generate:form:config + options: + module: example + class: SettingsForm + form-id: settings_form + inputs: + - name: foo_field + type: textfield + label: 'Foo field' + options: '' + description: '' + maxlength: '64' + size: '64' + default_value: '' + weight: '0' + fieldset: '' + - name: bar_number + type: number + label: 'Bar number' + options: '' + description: '' + maxlength: null + size: null + default_value: '' + weight: '0' + fieldset: '' + path: '/admin/setting/form' + menu_link_gen: true + menu_link_title: SettingsForm + menu_parent: system.admin_config_system + menu_link_desc: 'A description for the menu entry' + - command: generate:entity:content + options: + module: example + entity-class: Foo + entity-name: foo + label: Foo + - command: generate:entity:config + options: + module: example + entity-class: Bar + entity-name: bar + label: Bar + - command: generate:command + options: + module: example + class: ExampleCommand + name: example:command + container-aware: false + - command: generate:authentication:provider + options: + module: example + class: ExampleAuthenticationProvider + - command: generate:plugin:block + options: + module: example + class: ExampleBlock + label: Example plugin block + plugin-id: example_block + - command: generate:plugin:imageeffect + options: + module: example + class: ExampleImageEffect + plugin-id: example_image_effect + label: Example image effect + description: Example image effect + - command: generate:plugin:rest:resource + options: + module: example + class: ExampleRestResource + plugin-id: example_rest_resource + plugin-label: Example Rest Resource + plugin-url: example_rest_resource + plugin-states: + - GET + - PUT + - POST + - command: generate:service + options: + module: example + class: ExampleService + name: example.service + interface: yes + - command: module:install + arguments: + module: [example]