36d5c7f61e385ee526d4801c944c0f82c242df0c
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.ckeditorbutton.yml
1 description: 'Generate CKEditor button plugin.'
2 help: 'The <info>generate:plugin:ckeditorbutton</info> command helps you generate a new CKEditor button plugin.'
3 welcome: 'Welcome to the Drupal CKEditor Button Plugin generator'
4 options:
5   module: 'The Module name.'
6   class: 'Plugin class name'
7   label: 'Plugin label'
8   plugin-id: 'Plugin ID. NOTE: This corresponds to the CKEditor plugin name. It is the first argument of the CKEDITOR.plugins.add() function in the plugin.js file.'
9   button-name: 'Button name. NOTE: This corresponds to the CKEditor button name. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.'
10   button-icon-path: 'Button icon path. This is the path to the icon/image of the button.'
11 questions:
12   module: 'Enter the module name'
13   class: 'Enter the plugin class name'
14   label: 'Enter the plugin label'
15   plugin-id: 'Enter the plugin ID. NOTE: This corresponds to the CKEditor plugin name. It is the first argument of the CKEDITOR.plugins.add() function in the plugin.js file.'
16   button-name: 'Enter the button name. NOTE: This corresponds to the CKEditor button name. They are the first argument of the editor.ui.addButton() or editor.ui.addRichCombo() functions in the plugin.js file.'
17   button-icon-path: 'Enter the button icon path'
18 examples:
19   - description: 'Generate plugin CKEditor button specifying the module name, the class, the label, its id, the button name and the icon path'
20     execution: |
21       drupal generate:plugin:ckeditorbutton  \
22         --module="modulename"  \
23         --class="DefaultCKEditorButton"  \
24         --label="Default ckeditor button"  \
25         --plugin-id="default ckeditor button"  \
26         --button-name="Default ckeditor button"  \
27         --button-icon-path="modules/custom/modulename/js/plugins/default ckeditor button/images/icon.png"