-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translations for [generate:plugin:derivative] (#256)
- Loading branch information
1 parent
0d3b804
commit 30813a8
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
description: 'Generate a custom block plugin derivative' | ||
help: 'The <info>generate:plugin:derivative</info> command helps you generate a new custom plugin block derivative' | ||
welcome: 'Welcome to the Drupal Plugin Block Derivative generator' | ||
options: | ||
module: 'The Module name.' | ||
class: 'The Class name.' | ||
block_label: 'The Block label' | ||
block_description: 'The Block description' | ||
block_id: 'The Block id' | ||
questions: | ||
module: 'Enter the module name' | ||
class: 'Enter the plugin block derivative class name' | ||
block_label: 'Enter the Block label' | ||
block_description: 'Enter the Block description' | ||
block_id: 'Enter the Block id' | ||
suggestions: | ||
class: 'CustomBlockDerivative' | ||
block_description: 'My custom block derivative.' | ||
block_label: 'Custom block derivative' | ||
block_id: 'custom_block_derivative' | ||
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="CustomBlockDerivative" \ | ||
--block-label="Custom block derivative" \ | ||
--block-description="My custom block derivative." \ | ||
--block-id="custom_block_derivative" |