Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.entity.content.yml
index 63ed3c4cf8a977cfb853e7b2885b959958944468..8be970c5256af4bf7e5704315ad3b6d4c0f434cb 100644 (file)
@@ -1,19 +1,39 @@
 description: 'Generate a new content entity'
-help: ''
+help: 'The <info>generate:content:entity</info> command helps you generate a new content entity.'
+welcome: 'Welcome to the Drupal Content Entity generator'
 options:
-    module: common.options.module
-    entity-class: 'The content entity class'
-    entity-name: 'The content entity name'
-    label: 'The label'
-    has-bundles: 'Entity has bundles'
-    base-path: 'The base-path for the content entity routes'
-    is-translatable: 'Content entity translatable'
+  module: 'The Module name.'
+  entity-class: 'The content entity class'
+  entity-name: 'The content entity name'
+  label: 'The label'
+  has-bundles: 'Entity has bundles'
+  base-path: 'The base-path for the content entity routes'
+  is-translatable: 'Content entity translatable'
 questions:
-    module: common.questions.module
-    entity-class: 'Enter the class of your new content entity'
-    entity-name: 'Enter the machine name of your new content entity'
-    label: 'Enter the label of your new content entity'
-    has-bundles: 'Do you want this (content) entity to have bundles'
-    base-path: 'Enter the base-path for the content entity routes'
-    is-translatable: 'Is your entity translatable'
-    revisionable: 'Is your entity revisionable'
+  module: 'Enter the module name'
+  entity-class: 'Enter the class of your new content entity'
+  entity-name: 'Enter the machine name of your new content entity'
+  label: 'Enter the label of your new content entity'
+  has-bundles: 'Do you want this (content) entity to have bundles?'
+  base-path: 'Enter the base-path for the content entity routes'
+  is-translatable: 'Is your entity translatable?'
+  revisionable: 'Is your entity revisionable?'
+examples:
+  - description: 'Generate a content entity specifying the module, the entity class, the entity name, its path and label'
+    execution: |
+      drupal generate:entity:content  \
+        --module="modulename"  \
+        --entity-class="DefaultEntity"  \
+        --entity-name="default_entity"  \
+        --base-path="/admin/structure"  \
+        --label="Default entity"
+  - description: 'Generate a translatable and revisionable content entity specifying the module, the entity class, the entity name, its path and label'
+    execution: |
+      drupal generate:entity:content  \
+        --module="modulename"  \
+        --entity-class="DefaultEntity"  \
+        --entity-name="default_entity"  \
+        --base-path="/admin/structure"  \
+        --label="Default entity"  \
+        --is-translatable  \
+        --revisionable
\ No newline at end of file