Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
41
vendor/drupal/console-en/translations/generate.plugin.migrate.source.yml
vendored
Normal file
41
vendor/drupal/console-en/translations/generate.plugin.migrate.source.yml
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
description: 'Generate a migrate source plugin'
|
||||
help: 'The <info>generate:migrate:plugin:source</info> command helps you generate a new migrate source plugin.'
|
||||
welcome: 'Welcome to the Drupal Migrate Source Plugin generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
class: 'Plugin class name'
|
||||
plugin-id: 'Plugin id'
|
||||
table: 'Table to query'
|
||||
alias: 'Short alias to refer to the table as'
|
||||
group-by: 'Field to group results by'
|
||||
fields: 'Fields to export'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
class: 'Enter the plugin class name'
|
||||
plugin-id: 'Enter the plugin id'
|
||||
table: 'Enter the table name'
|
||||
alias: 'Enter the alias for the table'
|
||||
group-by: 'Enter a field to group by if desired'
|
||||
id: 'Enter the field id or press <info>enter</enter> if done'
|
||||
description: 'Enter the field description'
|
||||
examples:
|
||||
- description: 'Generate a migration source plugin specifying the module name, the class, its plugin id, the table and its alias'
|
||||
execution: |
|
||||
drupal generate:plugin:migrate:source \
|
||||
--module="modulename" \
|
||||
--class="PluginClassName" \
|
||||
--plugin-id="plugin_class_name" \
|
||||
--table="DefaultTableName" \
|
||||
--alias="D"
|
||||
- description: 'Generate a migration source plugin for specific fields of the users table specifying the module name, the class, its plugin id, the table, its alias and the fields'
|
||||
execution: |
|
||||
drupal generate:plugin:migrate:source \
|
||||
--module="modulename" \
|
||||
--class="DefaultPluginClass" \
|
||||
--plugin-id="default_plugin_class" \
|
||||
--table="users" \
|
||||
--alias="u" \
|
||||
--fields='"id":"id", "description":"the user id"' \
|
||||
--fields='"id":"username", "description":"the username"' \
|
||||
--fields='"id":"password", "description":"the user password"' \
|
||||
--fields='"id":"email", "description":"the user email"'
|
Reference in a new issue