generate:plugin:block
The generate:plugin:block command Generate a plugin block
Usage:
$ drupal generate:plugin:block [options]
$ gpb
Available options
| Option | Details |
|---|---|
| --module | The Module name. |
| --class | Plugin class name |
| --label | Plugin label |
| --plugin-id | Plugin id |
| --theme-region | Theme region to render Plugin Block |
| --inputs | Create inputs in a form. |
| --services | Load services from the container. |