+++ /dev/null
-commands:
- - command: generate:form:config
- options:
- module: example
- class: ConfigForm
- form-id: config_form
- services:
- - state
- inputs:
- - name: email
- type: email
- label: Email
- description: 'Enter a valid email.'
- fieldset: ''
- - name: api_key
- type: textfield
- label: 'API Key'
- description: 'Enter API Key'
- maxlength: '64'
- size: '64'
- - name: number_field
- type: number
- label: 'Number field'
- description: 'Enter a valid number.'
- - name: big_text
- type: textarea
- label: 'Big text'
- description: 'Enter a big text, you can user <enter> key'
- path: '/admin/config/form'
- menu_link_gen: true
- menu_link_title: 'Example Config Form'
- menu_parent: system.admin_config_system
- menu_link_desc: 'A Example Config Form.'
-# Rebuild routes
- - command: router:rebuild