67b06b4cf9c81483ae7387a57889c8bff05aa17b
[yaffs-website] / vendor / drupal / console-en / translations / generate.entity.config.yml
1 description: 'Generate a new config entity'
2 help: 'The <info>generate:config:entity</info> command helps you generate a new config entity.'
3 welcome: 'Welcome to the Drupal Config Entity generator'
4 options:
5   module: 'The Module name.'
6   entity-class: 'The config entity class'
7   entity-name: 'The config entity name'
8   label: 'The label'
9   bundle-of: 'Acts as bundle for content entities'
10   base-path: 'The base-path for the config entity routes'
11 questions:
12   module: 'Enter the module name'
13   entity-class: 'Enter the class of your new config entity'
14   entity-name: 'Enter the name of your new config entity'
15   label: 'Enter the label of your new config entity'
16   bundle-of: 'Name of the content entity you want this (config) entity to act as a bundle for'
17   base-path: 'Enter the base-path for the config entity routes'
18 examples:
19   - description: 'Generate config entity specifying the module, the entity class, the entity name, its path and label'
20     execution: |
21       drupal generate:entity:config  \
22         --module="modulename"  \
23         --entity-class="DefaultEntity"  \
24         --entity-name="default_entity"  \
25         --base-path="/admin/structure"  \
26         --label="Default entity"