This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/generate.entity.bundle.yml
2018-11-23 12:29:20 +00:00

20 lines
842 B
YAML

description: 'Generate a new content type (node / entity bundle)'
help: 'The <info>generate:contenttype</info> command helps you generate a new content type.'
welcome: 'Welcome to the Drupal Content Type generator'
options:
module: 'The Module name.'
bundle-name: 'The content type''s machine name'
bundle-title: 'The content type''s human-readable name'
questions:
module: 'Enter the module name'
bundle-name: 'Enter the machine name of your new content type'
bundle-title: 'Enter the human-readable name of your new content type'
message:
error-state1: placeholder
examples:
- description: 'Generate bundle entity specifying the module, the bundle name and its title'
execution: |
drupal generate:entity:bundle \
--module="modulename" \
--bundle-name="default" \
--bundle-title="default"