Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.entity.config.yml
index f234efe886bc5f4ab86b6b63db9d5c363b2cf68d..67b06b4cf9c81483ae7387a57889c8bff05aa17b 100644 (file)
@@ -1,16 +1,26 @@
 description: 'Generate a new config entity'
-help: ''
+help: 'The <info>generate:config:entity</info> command helps you generate a new config entity.'
+welcome: 'Welcome to the Drupal Config Entity generator'
 options:
-    module: common.options.module
-    entity-class: 'The config entity class'
-    entity-name: 'The config entity name'
-    label: 'The label'
-    bundle-of: 'Acts as bundle for content entities'
-    base-path: 'The base-path for the config entity routes'
+  module: 'The Module name.'
+  entity-class: 'The config entity class'
+  entity-name: 'The config entity name'
+  label: 'The label'
+  bundle-of: 'Acts as bundle for content entities'
+  base-path: 'The base-path for the config entity routes'
 questions:
-    module: common.questions.module
-    entity-class: 'Enter the class of your new config entity'
-    entity-name: 'Enter the name of your new config entity'
-    label: 'Enter the label of your new config entity'
-    bundle-of: 'Name of the content entity you want this (config) entity to act as a bundle for'
-    base-path: 'Enter the base-path for the config entity routes'
+  module: 'Enter the module name'
+  entity-class: 'Enter the class of your new config entity'
+  entity-name: 'Enter the name of your new config entity'
+  label: 'Enter the label of your new config entity'
+  bundle-of: 'Name of the content entity you want this (config) entity to act as a bundle for'
+  base-path: 'Enter the base-path for the config entity routes'
+examples:
+  - description: 'Generate config entity specifying the module, the entity class, the entity name, its path and label'
+    execution: |
+      drupal generate:entity:config  \
+        --module="modulename"  \
+        --entity-class="DefaultEntity"  \
+        --entity-name="default_entity"  \
+        --base-path="/admin/structure"  \
+        --label="Default entity"
\ No newline at end of file