X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.entity.config.yml;h=67b06b4cf9c81483ae7387a57889c8bff05aa17b;hp=f234efe886bc5f4ab86b6b63db9d5c363b2cf68d;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-en/translations/generate.entity.config.yml b/vendor/drupal/console-en/translations/generate.entity.config.yml index f234efe88..67b06b4cf 100644 --- a/vendor/drupal/console-en/translations/generate.entity.config.yml +++ b/vendor/drupal/console-en/translations/generate.entity.config.yml @@ -1,16 +1,26 @@ description: 'Generate a new config entity' -help: '' +help: 'The generate:config:entity 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