This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/vendor/drupal/console-en/translations/generate.plugin.views.field.yml
2018-11-23 12:29:20 +00:00

22 lines
1,018 B
YAML

description: 'Generate a custom plugin view field.'
help: 'The <info>generate:plugin:views:field</info> command helps you generate a new custom views field plugin.'
welcome: 'Welcome to the Drupal Plugin View Field generator'
options:
module: 'The Module name.'
class: 'Views plugin field class name'
title: 'Views plugin field title'
description: 'Views plugin field description'
questions:
module: 'Enter the module name'
class: 'Enter the views plugin field class name'
title: 'Enter the views plugin field title'
description: 'Enter the views plugin field description'
description_default: 'My awesome custom views field plugin.'
examples:
- description: 'Generate a custom view field plugin specifying the module name, the class, a title and its description'
execution: |
drupal generate:plugin:views:field \
--module="modulename" \
--class="CustomViewsField" \
--title="Custom views field" \
--description="My awesome custom views field plugin."