Module Service Create
module_service_createCreate a Drupal service definition with PHP class stub. Specify machine name and service name to generate the code with optional path, tags, arguments, and class name.
Instructions
Create a service definition with PHP class stub.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| tags | No | ||
| arguments | No | ||
| class_name | No | ||
| machine_name | Yes | ||
| service_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||