Module Controller Create
module_controller_createGenerate a Drupal controller class with its route definition for a custom module. Provide machine name and controller name to scaffold the class and routing file.
Instructions
Create a controller class with routing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| methods | No | ||
| class_name | No | ||
| machine_name | Yes | ||
| controller_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||