generate:form:alter

The generate:form:alter command: Generate an implementation of hook_form_alter() or hook_form_FORM_ID_alter

Usage:

        $ drupal generate:form:alter [options] 
    

Available options

Option Details
module The Module name.
form-id Form ID to alter
inputs Create inputs in a form.