default services conflit ?
This commit is contained in:
35
old.vendor/drupal/console-en/.gitignore
vendored
Normal file
35
old.vendor/drupal/console-en/.gitignore
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# deprecation-detector
|
||||
/.rules
|
||||
|
||||
# Composer
|
||||
/vendor
|
||||
/bin/phpunit
|
||||
/bin/jsonlint
|
||||
/bin/phpcbf
|
||||
/bin/phpcs
|
||||
/bin/validate-json
|
||||
/bin/pdepend
|
||||
/bin/php-cs-fixer
|
||||
/bin/phpmd
|
||||
PATCHES.txt
|
||||
|
||||
# Develop
|
||||
autoload.local.php
|
||||
|
||||
# Binaries
|
||||
/box.phar
|
||||
/console.phar
|
||||
/drupal.phar
|
||||
/drupal.phar.version
|
||||
|
||||
# Test
|
||||
/phpunit.xml
|
||||
|
||||
# Drupal
|
||||
/core
|
||||
/nbproject/
|
||||
|
||||
# Splitsh
|
||||
/config/
|
||||
/PATCHES.txt
|
||||
|
42
old.vendor/drupal/console-en/README.md
Normal file
42
old.vendor/drupal/console-en/README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# drupal-console-en
|
||||
|
||||
## Usage
|
||||
|
||||
Drupal Console project it's installed per each Drupal 8 website with English language by default.
|
||||
|
||||
To install Drupal Console package in other languages check the packages available at [https://packagist.org](https://packagist.org)
|
||||
|
||||
|
||||
### Install Drupal Console
|
||||
|
||||
To install the appropriate version of Drupal Console project for your drupal installation, run the following composer command
|
||||
|
||||
```
|
||||
$ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
|
||||
```
|
||||
|
||||
### Install Drupal Console launcher
|
||||
|
||||
In order to avoid conflicts between Drupal release and have a Drupal Console version between major and minor releases in Drupal, a Drupal Console launcher was created. In order to facilitate to load the Drupal Console commands available to each
|
||||
Drupal 8 website,
|
||||
|
||||
To install Drupal Console launcher globally follow the instruction below.
|
||||
|
||||
```
|
||||
$ curl https://drupalconsole.com/installer -L -o drupal.phar
|
||||
# Or
|
||||
$ php -r "readfile('https://drupalconsole.com/installer');" > drupal.phar
|
||||
|
||||
$mv drupal.phar /usr/local/bin/drupal
|
||||
$ chmod +x /usr/local/bin/drupal
|
||||
```
|
||||
|
||||
### Contribute
|
||||
|
||||
If you want to contribute to this translation, you need to follow this steps to setup your environment.
|
||||
|
||||
- [Project requirements](https://docs.drupalconsole.com/en/contributing/project-requirements.html)
|
||||
- [Getting the project](https://docs.drupalconsole.com/en/contributing/getting-the-project.html)
|
||||
- [Running the project](https://docs.drupalconsole.com/en/contributing/running-the-project.html)
|
||||
|
||||
N.B: Push your changes to your forked repository in order to create PR per day to avoid any conflicts with other contributors.
|
37
old.vendor/drupal/console-en/composer.json
Normal file
37
old.vendor/drupal/console-en/composer.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "drupal/console-en",
|
||||
"description": "Drupal Console English Language",
|
||||
"keywords": ["Drupal", "Console", "Development", "Symfony"],
|
||||
"homepage": "http://drupalconsole.com/",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"authors": [
|
||||
{
|
||||
"name": "David Flores",
|
||||
"email": "dmousex@gmail.com",
|
||||
"homepage": "http://dmouse.net"
|
||||
},
|
||||
{
|
||||
"name": "Jesus Manuel Olivas",
|
||||
"email": "jesus.olivas@gmail.com",
|
||||
"homepage": "http://jmolivas.com"
|
||||
},
|
||||
{
|
||||
"name": "Eduardo Garcia",
|
||||
"email": "enzo@enzolutions.com",
|
||||
"homepage": "http://enzolutions.com/"
|
||||
},
|
||||
{
|
||||
"name": "Omar Aguirre",
|
||||
"email": "omersguchigu@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Drupal Console Contributors",
|
||||
"homepage": "https://github.com/hechoendrupal/DrupalConsole/graphs/contributors"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/hechoendrupal/DrupalConsole/issues",
|
||||
"forum": "https://gitter.im/hechoendrupal/DrupalConsole",
|
||||
"docs": "https://docs.drupalconsole.com"
|
||||
}
|
||||
}
|
13
old.vendor/drupal/console-en/translations/about.yml
Normal file
13
old.vendor/drupal/console-en/translations/about.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
description: 'Displays basic information about Drupal Console project'
|
||||
messages:
|
||||
welcome: 'The Drupal Console is a suite of tools that you run on the CLI to:'
|
||||
welcome-feature-generate: 'Generate boilerplate code.'
|
||||
welcome-feature-interact: 'Interact with a Drupal 8 installation.'
|
||||
welcome-feature-learn: 'Learn Drupal 8.'
|
||||
links: 'Project links'
|
||||
landing: 'Landing page - "%s"'
|
||||
change-log: 'Change log at - "%s"'
|
||||
documentation: 'Documentation at - "%s"'
|
||||
support: 'Support chat room - "%s"'
|
||||
supporting-organizations: 'Supporting organizations'
|
||||
version-supported: 'Drupal supported version <info>"%s"</info>'
|
103
old.vendor/drupal/console-en/translations/application.yml
Normal file
103
old.vendor/drupal/console-en/translations/application.yml
Normal file
@@ -0,0 +1,103 @@
|
||||
options:
|
||||
env: 'The Environment name'
|
||||
debug: 'Switches on debug mode'
|
||||
learning: 'Generate a verbose code output'
|
||||
generate-chain: 'Shows command options and arguments as yaml output to be used in chain command'
|
||||
generate-inline: 'Shows command options and arguments as inline command'
|
||||
generate-doc: 'Shows command options and arguments as markdown'
|
||||
root: 'Define the Drupal root to be used in command execution'
|
||||
uri: 'URI of the Drupal site to use (for multi-site environments or when running on an alternate port)'
|
||||
yes: 'Skip confirmation and proceed'
|
||||
target: 'Site name you want to interact with (for local or remote sites)'
|
||||
help: 'Display this help message'
|
||||
quiet: 'Suppress all output from the command'
|
||||
verbose: 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output, and 3 for debug'
|
||||
version: 'Display this application version'
|
||||
ansi: 'Force ANSI output'
|
||||
no-ansi: 'Disable ANSI output'
|
||||
no-interaction: 'Do not ask any interactive question'
|
||||
check-fix: 'Attempt to fix any missing configuration.'
|
||||
arguments:
|
||||
command: 'The command to execute'
|
||||
messages:
|
||||
completed: 'The command was executed successfully!'
|
||||
chain:
|
||||
generated: 'Yaml representation of this command, usage copy in i.e. `~/.console/chain/sample.yml` to execute using `chain` command, make sure your yaml file start with a `commands` root key:'
|
||||
inline:
|
||||
generated: 'Inline representation of this command:'
|
||||
generated: 'You can now start using the generated code!'
|
||||
files:
|
||||
generated: 'Generated or updated files'
|
||||
copied: 'Copied files'
|
||||
lines-code: 'Generated lines: %s'
|
||||
path: 'Generation path'
|
||||
learning:
|
||||
route: "In order to to create pages it is necessary to define routes for them.\nA route maps a URL path to a controller. It defines what function\nor method will be called when a URL is accessed.\nIf the user accesses http://drupal8.dev/{{ route.path }}, the routing\nsystem will look for a route with that path. In this case it will find a\nmatch, and execute the _controller callback. In this case the callback is\ndefined as a classname\n(\"\\Drupal\\{{ module }}\\Controller\\{{ class_name }}\")\nand a method (\"{{ route.method }}\")."
|
||||
autocomplete: |
|
||||
Bash: Bash support depends on the http://bash-completion.alioth.debian.org/
|
||||
project which can be installed with your package manager of choice. Then add
|
||||
this line to your shell configuration file.
|
||||
<info>source "$HOME/.console/console.rc" 2>/dev/null</info>
|
||||
|
||||
Bash or Zsh: Add this line to your shell configuration file:
|
||||
<info>source "$HOME/.console/console.rc" 2>/dev/null</info>
|
||||
|
||||
Fish: Create a symbolic link
|
||||
<info>mkdir -p ~/.config/fish/completions/ && ln -s ~/.console/drupal.fish ~/.config/fish/completions/drupal.fish</info>
|
||||
version: '<info>"%s"</info> version <comment>"%s"</comment>'
|
||||
disable:
|
||||
command:
|
||||
error: 'Command: "%s" is deprecated.'
|
||||
extra: 'You must execute: "%s" instead'
|
||||
errors:
|
||||
invalid-command: 'Command "%s", is not a valid command name.'
|
||||
renamed-command: 'Command "%s" was renamed, use "%s" instead.'
|
||||
drush-command: 'Command "%s" is a Drush command (deprecated). Drupal Console equivalent "%s" was executed instead.'
|
||||
statistics-failed: |
|
||||
The Drupal console failed to send statistics. After 10 attempts, this feature was disabled.
|
||||
If you want to enable it again, use the following command:
|
||||
|
||||
<info>drupal settings:set statistics.enabled true</info>
|
||||
statistics-url-failed: |
|
||||
The Drupal console failed to send statistics.
|
||||
You must configure it in the global config.yml, use the following command and choose your preference:
|
||||
|
||||
<info>drupal init</info>
|
||||
site:
|
||||
messages:
|
||||
path: 'Site path'
|
||||
errors:
|
||||
settings: 'In order to list all of the available commands you should install drupal first.'
|
||||
directory: 'In order to list all of the available commands, you should run this against a drupal root directory.'
|
||||
not-installed: 'Drupal Console is not installed at: "%s"'
|
||||
execute-composer: 'You must execute the following composer commands:'
|
||||
missing-config-file: 'Missing configuration file, possible paths:'
|
||||
missing-config-file-command: 'Execute "drupal init" command to generate one'
|
||||
user:
|
||||
messages:
|
||||
path: 'User home path'
|
||||
|
||||
remote:
|
||||
errors:
|
||||
passphrase-missing: 'Passphrase file is missing'
|
||||
passphrase-empty: 'Passphrase file is empty'
|
||||
private-missing: 'Private file is missing'
|
||||
private-empty: 'Private file is empty'
|
||||
private-invalid: 'Private file is invalid'
|
||||
invalid-root: 'Invalid root directory'
|
||||
console-not-found: 'Drupal Console not found on this site'
|
||||
|
||||
gitbook:
|
||||
messages:
|
||||
title: 'Available Drupal Console Commands'
|
||||
note: 'Note'
|
||||
note-description: 'Drupal Console commands *must* be run from the root of a Drupal 8 installation'
|
||||
command: 'Drupal Console Command'
|
||||
command_description: 'The **"%s"** command "%s"'
|
||||
usage: 'Usage'
|
||||
options: 'Available options'
|
||||
option: 'Option'
|
||||
details: 'Details'
|
||||
arguments: 'Available arguments'
|
||||
argument: 'Argument'
|
||||
examples: 'Examples'
|
15
old.vendor/drupal/console-en/translations/cache.rebuild.yml
Normal file
15
old.vendor/drupal/console-en/translations/cache.rebuild.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
description: 'Rebuild and clear all site caches.'
|
||||
options:
|
||||
cache: 'Only clear a specific cache.'
|
||||
messages:
|
||||
welcome: 'Welcome to the cache:rebuild command'
|
||||
rebuild: 'Rebuilding cache(s), wait a moment please.'
|
||||
completed: 'Done clearing cache(s).'
|
||||
invalid-cache: 'Cache "%s" is invalid.'
|
||||
questions:
|
||||
cache: 'Select cache.'
|
||||
examples:
|
||||
- description: Rebuild all caches
|
||||
execution: drupal cr all
|
||||
- description: Rebuild discovery cache
|
||||
execution: drupal cr discovery
|
@@ -0,0 +1,11 @@
|
||||
description: 'Invalidate cache tags.'
|
||||
options:
|
||||
tag: 'One or more tags to invalidate.'
|
||||
messages:
|
||||
start: 'Invalidating tag(s) "%s".'
|
||||
completed: 'Done invalidating tag(s).'
|
||||
examples:
|
||||
- description: Invalidate routes
|
||||
execution: drupal cti routes
|
||||
- description: Invalidate a specific node
|
||||
execution: drupal cti node:1 node_list
|
25
old.vendor/drupal/console-en/translations/chain.yml
Normal file
25
old.vendor/drupal/console-en/translations/chain.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
description: 'Chain command execution'
|
||||
options:
|
||||
file: 'User defined file containing commands to get executed.'
|
||||
questions:
|
||||
chain-file: 'Select chain file to execute'
|
||||
messages:
|
||||
missing-file: 'You must provide a valid file path and name.'
|
||||
invalid-file: 'The file "%s" does not exist.'
|
||||
module-install: 'module:install command is not runnable inside a chain queue and must be run independently.'
|
||||
missing-environment-placeholders: 'Missing environment placeholder(s) "%s"'
|
||||
set-environment-placeholders: 'Set environment placeholders as:'
|
||||
missing-inline-placeholders: 'Missing inline placeholder(s) "%s"'
|
||||
set-inline-placeholders: 'Pass inline placeholders as:'
|
||||
select-value-for-placeholder: 'Select value for "%s" placeholder'
|
||||
enter-value-for-placeholder: 'Enter value for "%s" placeholder'
|
||||
legacy-inline: 'Update inline legacy placeholders from %{{name}} to {{name}}.'
|
||||
legacy-environment: 'Update environment legacy placeholders from ${{(NAME}} or %env(NAME)% to {{env("NAME")}}.'
|
||||
metadata-registration: |
|
||||
You should register your chain file as command by providing metadata, more info at:
|
||||
https://docs.drupalconsole.com/en/chains/registering.html
|
||||
examples:
|
||||
- description: 'Providing a file option using full path. (DEPRECATED'
|
||||
execution: |
|
||||
drupal chain \
|
||||
--file="/path/to/file/chain-file.yml"
|
9
old.vendor/drupal/console-en/translations/check.yml
Normal file
9
old.vendor/drupal/console-en/translations/check.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
description: 'System requirement checker'
|
||||
messages:
|
||||
file: 'Checking requirements using file at:'
|
||||
php-invalid: 'The current installed version "%s" is invalid, it requires "%s" or higher'
|
||||
configuration-missing: 'The configuration "%s" is missing.'
|
||||
configuration-overwritten: 'The PHP-Configuration (php.ini) "%s" was missing and overwritten with "%s".'
|
||||
extension-missing: 'The extension "%s" is missing.'
|
||||
extension-recommended: 'The extension "%s" is recommended to install.'
|
||||
success: 'Checks passed.'
|
60
old.vendor/drupal/console-en/translations/common.yml
Normal file
60
old.vendor/drupal/console-en/translations/common.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
options:
|
||||
class: 'Class name'
|
||||
events: 'Load events from the container'
|
||||
module: 'The Module name.'
|
||||
extension: 'The name of the Extension (modules, profiles or themes name).'
|
||||
extension-type: 'The type of the Extension (can be module, profile or theme).'
|
||||
services: 'Load services from the container.'
|
||||
tags: 'Set service tags from the container.'
|
||||
inputs: 'Create inputs in a form.'
|
||||
permissions: 'Create permissions.'
|
||||
theme: 'The Theme name'
|
||||
questions:
|
||||
class: 'Enter the Class name'
|
||||
module: 'Enter the module name'
|
||||
theme: 'Enter the theme name'
|
||||
extension: 'Enter the extension name'
|
||||
extension-type: 'Enter the extension type'
|
||||
confirm: 'Do you want proceed with the operation?'
|
||||
canceled: 'The operation was cancelled.'
|
||||
events:
|
||||
message: "\nType the event name or use keyup or keydown.\nThis is optional, press <info>enter</info> to <info>continue</info>\n"
|
||||
name: 'Enter event name'
|
||||
services:
|
||||
confirm: 'Do you want to load services from the container?'
|
||||
message: "\nType the service name or use keyup or keydown.\nThis is optional, press <info>enter</info> to <info>continue</info>\n"
|
||||
name: 'Enter your service'
|
||||
roles:
|
||||
message: "\nType the role name or use keyup or keydown.\nThis is optional, press <info>enter</info> to <info>continue</info>\n"
|
||||
name: 'Enter your role'
|
||||
inputs:
|
||||
confirm: 'Do you want to generate a form structure?'
|
||||
label: 'Input label'
|
||||
machine-name: 'Input machine name'
|
||||
permission: 'Do you want to generate permissions?'
|
||||
type: 'New field type (press <return> to stop adding fields)'
|
||||
invalid: 'Field Type "%s" is invalid.'
|
||||
description: Description
|
||||
default-value:
|
||||
default-value: 'Default value'
|
||||
checkboxes: 'Default value(s) separated by commas'
|
||||
weight: 'Weight for input item'
|
||||
title: 'Title'
|
||||
fieldset: 'Fieldset'
|
||||
new-field: 'Enter a new field properties'
|
||||
errors:
|
||||
module-dependency: 'Missing module dependency "%s" is not installed. Try module:install to install it.'
|
||||
class-name-empty: 'The Class name can not be empty'
|
||||
invalid-file-path: 'You must provide a valid file path'
|
||||
module-exist: 'Module "%s" already exist.'
|
||||
machine-name-duplicated: 'Machine name "%s" is duplicated.'
|
||||
status:
|
||||
enabled: Enabled
|
||||
disabled: Disabled
|
||||
messages:
|
||||
canceled: 'The generation was cancelled'
|
||||
drupal-core: 'Drupal Core'
|
||||
move-phar: 'Accessing console from anywhere on your system'
|
||||
quick-start: 'Download, install and serve Drupal 8'
|
||||
available-field-types: 'Available types: <comment>%s</comment>'
|
||||
theme: 'The %s theme is not instaled'
|
1
old.vendor/drupal/console-en/translations/complete.yml
Normal file
1
old.vendor/drupal/console-en/translations/complete.yml
Normal file
@@ -0,0 +1 @@
|
||||
description: 'Shell completion command list'
|
14
old.vendor/drupal/console-en/translations/composerize.yml
Normal file
14
old.vendor/drupal/console-en/translations/composerize.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
description: 'Converts Drupal codebase to composer.'
|
||||
options:
|
||||
show-packages: 'Show list of packages.'
|
||||
include-version: 'Include version on suggested result command.'
|
||||
messages:
|
||||
name: 'Name'
|
||||
version: 'Version'
|
||||
dependencies: 'Dependencies'
|
||||
profile: 'Profile(s) detected'
|
||||
module: 'Module(s) detected'
|
||||
theme: 'Theme(s) detected'
|
||||
from: 'From your project root:'
|
||||
execute: 'Execute this command:'
|
||||
ignore: 'To ignore third party libraries, profiles, modules and themes add to your .gitignore file:'
|
19
old.vendor/drupal/console-en/translations/config.delete.yml
Normal file
19
old.vendor/drupal/console-en/translations/config.delete.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
description: 'Delete configuration'
|
||||
arguments:
|
||||
type: 'Configuration type.'
|
||||
name: 'Configuration name.'
|
||||
messages:
|
||||
all: 'All configuration sucessfully deleted.'
|
||||
deleted: 'Configuration "%s" sucessfully deleted.'
|
||||
errors:
|
||||
config-storage: 'Configuration type would not be loaded.'
|
||||
name: 'Configuration name must contain a value.'
|
||||
type: 'Configuration type is missing.'
|
||||
not-exists: 'The configuration "%s" does not exist.'
|
||||
warnings:
|
||||
undo: 'This action will delete all configuration permanently.'
|
||||
questions:
|
||||
sure: 'Are you sure to delete all configuration'
|
||||
examples:
|
||||
- description: 'Provide a config type and a config name'
|
||||
execution: drupal config:delete active all
|
17
old.vendor/drupal/console-en/translations/config.diff.yml
Normal file
17
old.vendor/drupal/console-en/translations/config.diff.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
description: 'Output configuration items that are different in active configuration compared with a directory.'
|
||||
arguments:
|
||||
directory: 'The directory to diff against. If omitted, choose from Drupal config directories.'
|
||||
options:
|
||||
reverse: 'See the changes in reverse (i.e diff a directory to the active configuration).'
|
||||
questions:
|
||||
directories: 'Config directory:'
|
||||
table:
|
||||
headers:
|
||||
collection: 'Collection'
|
||||
config-name: 'Configuration item'
|
||||
operation: 'Operation'
|
||||
messages:
|
||||
no-changes: 'There are no changes.'
|
||||
examples:
|
||||
- description: 'Provide a config directory'
|
||||
execution: drupal config:diff ../config/path
|
14
old.vendor/drupal/console-en/translations/config.edit.yml
Normal file
14
old.vendor/drupal/console-en/translations/config.edit.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
description: 'Change a configuration object with a text editor.'
|
||||
arguments:
|
||||
config-name: 'Configuration object name, for example "user.settings".'
|
||||
editor: 'Editor, for example "vim" or "gedit".'
|
||||
questions:
|
||||
config-name: 'Choose a configuration Object'
|
||||
messages:
|
||||
no-directory: 'An error occurred while creating your directory at: "%s"'
|
||||
choose-configuration: 'Choose a configuration'
|
||||
examples:
|
||||
- description: 'Edit system cron configurations with "vim" (default editor).'
|
||||
execution: 'drupal config:edit system.cron'
|
||||
- description: 'Edit system cron configurations with "gedit".'
|
||||
execution: 'drupal config:edit system.cron gedit'
|
@@ -0,0 +1,29 @@
|
||||
description: 'Export a specific content type and their fields.'
|
||||
arguments:
|
||||
content-type: 'Content Type to be exported'
|
||||
questions:
|
||||
content-type: 'Content Type to be exported'
|
||||
remove-uuid: 'Content Type to be exported without uuid key.'
|
||||
optional-config: 'Export content type in module as an optional configuration'
|
||||
all: 'All content types'
|
||||
remove-config-hash: 'Content type to be exported without the default site hash key.'
|
||||
include-module-dependencies: 'Include content type module dependencies in module info YAML file'
|
||||
messages:
|
||||
content-type-exported: 'Exporting content type'
|
||||
options:
|
||||
optional-config: 'Export content type as an optional YAML configuration in your module'
|
||||
remove-uuid: 'If set, the configuration will be exported without uuid key.'
|
||||
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
|
||||
include-module-dependencies: 'Include content type module dependencies in module info YAML file'
|
||||
examples:
|
||||
- description: 'Provide a content type and module name.'
|
||||
execution: |
|
||||
drupal config:export:content:type page \
|
||||
--module="demo"
|
||||
- description: 'Export content type as an optional config for the provided module.'
|
||||
execution: |
|
||||
drupal config:export:content:type page \
|
||||
--module="demo" \
|
||||
--optional-config \
|
||||
--remove-uuid \
|
||||
--remove-config-hash
|
@@ -0,0 +1,31 @@
|
||||
description: 'Export a specific config entity and their fields.'
|
||||
arguments:
|
||||
entity-type: 'An entity type (node_type, taxonomy_vocabulary, paragraphs_type) to be exported'
|
||||
bundle: 'A bundle to be exported'
|
||||
questions:
|
||||
all: 'All'
|
||||
entity-type: 'Select entity type'
|
||||
bundle: 'A bundle to be exported'
|
||||
remove-uuid: 'The bundle to be exported without uuid key.'
|
||||
optional-config: 'Export the bundle in the module as an optional configuration'
|
||||
remove-config-hash: 'The bundle to be exported without the default site hash key.'
|
||||
include-module-dependencies: 'Include bundle module dependencies in module info YAML file'
|
||||
messages:
|
||||
bundle-exported: 'Exporting bundle %s'
|
||||
options:
|
||||
optional-config: 'Export bundle as an optional YAML configuration in your module'
|
||||
remove-uuid: 'If set, the configuration will be exported without uuid key.'
|
||||
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
|
||||
include-module-dependencies: 'Include bundle module dependencies in module info YAML file'
|
||||
examples:
|
||||
- description: 'Provide an entity type, a bundle and a module name'
|
||||
execution: |
|
||||
drupal config:export:entity node_type page \
|
||||
--module="demo"
|
||||
- description: 'If you want export a bundle as an optional config'
|
||||
execution: |
|
||||
drupal config:export:entity node_type page \
|
||||
--module="demo" \
|
||||
--optional-config \
|
||||
--remove-uuid \
|
||||
--remove-config-hash
|
@@ -0,0 +1,31 @@
|
||||
description: 'Export a single configuration or a list of configurations as yml file(s).'
|
||||
options:
|
||||
name: 'Configuration name.'
|
||||
include-dependencies: 'Export dependencies of the configuration as well.'
|
||||
simple-configuration: 'Simple configuration'
|
||||
optional: 'Export config as an optional YAML configuration in your module'
|
||||
remove-uuid: 'If set, the configuration will be exported without uuid key.'
|
||||
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
|
||||
questions:
|
||||
config-type: 'Configuration type'
|
||||
name: 'Configuration name'
|
||||
optional: 'Export config in module as an optional configuration'
|
||||
remove-uuid: 'Do you want to remove the uuid from this export?'
|
||||
remove-config-hash: 'Do you want to remove the default site hash from this export?'
|
||||
messages:
|
||||
config-not-found: 'Configuration name not found.'
|
||||
export: 'Configuration was exported at file "%s".'
|
||||
invalid-config-type: 'Invalid config type, please select one of the list'
|
||||
invalid-config-name: 'Invalid config name, please select one of the list'
|
||||
config-exported: 'Configuration(s) exported successfully'
|
||||
examples:
|
||||
- description: 'Provide config settings name to be exported.'
|
||||
execution: |
|
||||
drupal config:export:single \
|
||||
--name=config.settings.name
|
||||
- description: 'Export with uuid and config hashes removed.'
|
||||
execution: |
|
||||
drupal config:export:single \
|
||||
--name=config.settings.name \
|
||||
--remove-uuid \
|
||||
--remove-config-hash
|
@@ -0,0 +1,35 @@
|
||||
description: 'Export a view in YAML format inside a provided module to reuse in another website.'
|
||||
messages:
|
||||
view-exported: 'View exported sucessfully'
|
||||
depencies-included: 'The following module dependencies were included at "%s"'
|
||||
wrong-view: 'The view "%s" does not exist'
|
||||
questions:
|
||||
view: 'View to be exported'
|
||||
optional-config: 'Export view in module as an optional configuration'
|
||||
include-module-dependencies: 'Include view module dependencies in module info YAML file'
|
||||
remove-uuid: 'The view to be exported without uuid key.'
|
||||
remove-config-hash: 'The view to be exported without the default site hash key.'
|
||||
arguments:
|
||||
view-id: 'View ID'
|
||||
options:
|
||||
optional-config: 'Export view as an optional YAML configuration in your module'
|
||||
include-module-dependencies: 'Include view module dependencies in module info YAML file'
|
||||
remove-uuid: 'If set, the configuration will be exported without uuid key.'
|
||||
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
|
||||
examples:
|
||||
- description: 'Perform a simple export.'
|
||||
execution: drupal config:export:view viewid
|
||||
- description: 'Export as optional config for the provided module.'
|
||||
execution: |
|
||||
drupal config:export:view viewid \
|
||||
--module="modulename" \
|
||||
--optional-config \
|
||||
--include-module-dependencies \
|
||||
--remove-uuid \
|
||||
--remove-config-hash
|
||||
- description: "Export as config for the provided module, updating the module's info.yml with any module dependencies from the view."
|
||||
execution: |
|
||||
drupal config:export:view viewid \
|
||||
--module="modulename" \
|
||||
--optional-config \
|
||||
--include-module-dependencies
|
23
old.vendor/drupal/console-en/translations/config.export.yml
Normal file
23
old.vendor/drupal/console-en/translations/config.export.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
description: 'Export current application configuration.'
|
||||
options:
|
||||
directory: 'Define the export directory to save the configuration output.'
|
||||
tar: 'If set, the configuration will be exported to an archive file.'
|
||||
remove-uuid: 'If set, the configuration will be exported without uuid key.'
|
||||
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
|
||||
questions:
|
||||
directory: 'Enter the directory name to save the configuration files.'
|
||||
messages:
|
||||
directory: 'The configuration was exported at "%s"'
|
||||
error: 'An error occurred while creating your directory at "%s"'
|
||||
examples:
|
||||
- description: 'Optional you can add the path to export'
|
||||
execution: |
|
||||
drupal config:export \
|
||||
--directory="path/to/export"
|
||||
- description: 'Export as a compressed file with uuid and config hashes removed'
|
||||
execution: |
|
||||
drupal config:export \
|
||||
--directory="path/to/export" \
|
||||
--tar \
|
||||
--remove-uuid \
|
||||
--remove-config-hash
|
@@ -0,0 +1,21 @@
|
||||
description: 'Import a single configuration or a list of configurations.'
|
||||
options:
|
||||
file: 'The file(s) name or file(s) absolute path to import'
|
||||
directory: 'The path from where to import file(s).'
|
||||
questions:
|
||||
file: 'Enter file name or file absolute path to import'
|
||||
directory: 'Enter absolute path from where to import files.'
|
||||
messages:
|
||||
missing-file: 'File option is missing.'
|
||||
empty-value: 'Value can not be empty'
|
||||
success: 'Configuration(s) "%s", has been imported successfully.'
|
||||
examples:
|
||||
- description: 'Providing a file option using full path.'
|
||||
execution: |
|
||||
drupal config:import:single \
|
||||
--file="/path/to/file/block.block.default_block.yml"
|
||||
- description: 'Providing file and directory options'
|
||||
execution: |
|
||||
drupal config:import:single \
|
||||
--file="block.block.default_block.yml" \
|
||||
--directory="/path/to/directory"
|
23
old.vendor/drupal/console-en/translations/config.import.yml
Normal file
23
old.vendor/drupal/console-en/translations/config.import.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
description: 'Import configuration to current application.'
|
||||
options:
|
||||
file: 'Path to an archive file of configuration to import.'
|
||||
directory: 'Path to a directory of configuration to import.'
|
||||
remove-files: 'Remove files after synchronization.'
|
||||
skip-uuid: 'Skip uuid from files'
|
||||
questions:
|
||||
directory: 'Enter the directory name to import the configuration files.'
|
||||
messages:
|
||||
config_files_imported: 'List of config files.'
|
||||
imported: 'Configuration imported successfully.'
|
||||
importing: 'Importing configuration.'
|
||||
already-imported: 'Another request may be synchronizing configuration already.'
|
||||
nothing-to-do: 'There are no changes to import.'
|
||||
examples:
|
||||
- description: 'Provide a configuration file'
|
||||
execution: |
|
||||
drupal config:import \
|
||||
--file=/path/to/config/file
|
||||
- description: 'Provide a configuration directory'
|
||||
execution: |
|
||||
drupal config:import \
|
||||
--directory=/path/to/config/dir
|
@@ -0,0 +1,27 @@
|
||||
description: 'Override config value in active configuration.'
|
||||
questions:
|
||||
name: 'Enter configuration name'
|
||||
key: 'Enter the configuration key'
|
||||
value: 'Enter the "%s" configuration value'
|
||||
arguments:
|
||||
name: 'Configuration name'
|
||||
options:
|
||||
key: 'Key'
|
||||
value: 'Value'
|
||||
messages:
|
||||
configuration: 'Configuration name'
|
||||
configuration-key: 'Configuration key'
|
||||
original: 'Original Value'
|
||||
updated: 'Override Value'
|
||||
invalid-name: 'Config object "%s" does not exist.'
|
||||
invalid-config-file: 'Config file does not exist.'
|
||||
examples:
|
||||
- description: "Override options from the Who's new view"
|
||||
execution: |
|
||||
drupal config:override views.view.who_s_new \
|
||||
--key='langcode' \
|
||||
--key='label' \
|
||||
--key='display.default.position' \
|
||||
--value='es' \
|
||||
--value='New label' \
|
||||
--value='1'
|
@@ -0,0 +1,9 @@
|
||||
description: 'Validate a drupal config against its schema'
|
||||
options: {}
|
||||
arguments: {}
|
||||
messages:
|
||||
success: 'Config was successfully validated'
|
||||
no-conf: 'Config with this name does not exist'
|
||||
examples:
|
||||
- description: 'Provide the configuration name.'
|
||||
execution: 'drupal config:validate configuration.name'
|
@@ -0,0 +1,40 @@
|
||||
description: 'Create dummy comments for your Drupal 8 application.'
|
||||
help: 'The <info>create:comments</info> command helps you create dummy comments.'
|
||||
welcome: 'Welcome to the Drupal comments generator'
|
||||
arguments:
|
||||
node-id: 'Node ID where the comments will be created'
|
||||
options:
|
||||
limit: 'How many comments would you like to create'
|
||||
title-words: 'Maximum number of words in comment titles'
|
||||
time-range: 'How far back in time should the comments be dated'
|
||||
questions:
|
||||
node-id: 'Node ID where the comments will be created'
|
||||
content-type: 'Select content type(s) to be used on comment creation'
|
||||
limit: 'Enter how many comments would you like to generate'
|
||||
title-words: 'Enter the maximum number of words in titles'
|
||||
time-range: 'How far back in time should the comments be dated?'
|
||||
time-ranges:
|
||||
- 'Now'
|
||||
- '1 hour ago'
|
||||
- '1 day ago'
|
||||
- '1 week ago'
|
||||
- '1 month ago'
|
||||
- '1 year ago'
|
||||
messages:
|
||||
node-id: 'Node Id'
|
||||
comment-id: 'Comment Id'
|
||||
content-type: 'Content type'
|
||||
title: 'Title'
|
||||
created: 'Created Time'
|
||||
invalid-content-types: 'Content types "%s" are invalid'
|
||||
created-comments: 'Created "%s" comments successfully'
|
||||
error: 'Error creating comments: "%s"'
|
||||
examples:
|
||||
- description: 'Provide the node id where the comments will be generated.'
|
||||
execution: drupal create:comments node-id
|
||||
- description: 'Provide number of comments to generate, max title words and time range.'
|
||||
execution: |
|
||||
drupal create:comments node-id \
|
||||
--limit="2" \
|
||||
--title-words="5" \
|
||||
--time-range="1"
|
42
old.vendor/drupal/console-en/translations/create.nodes.yml
Normal file
42
old.vendor/drupal/console-en/translations/create.nodes.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
description: 'Create dummy nodes for your Drupal 8 application.'
|
||||
help: 'The <info>create:nodes</info> command helps you create dummy nodes.'
|
||||
welcome: 'Welcome to the Drupal nodes generator'
|
||||
arguments:
|
||||
content-types: 'Content type(s) to be used in node creation'
|
||||
options:
|
||||
limit: 'How many nodes would you like to create'
|
||||
title-words: 'Maximum number of words in node titles'
|
||||
time-range: 'How far back in time should the nodes be dated'
|
||||
revision: 'Create revisions'
|
||||
questions:
|
||||
content-type: 'Select content type(s) to be used on node creation'
|
||||
limit: 'Enter how many nodes would you like to generate'
|
||||
title-words: 'Enter the maximum number of words in titles'
|
||||
time-range: 'How far back in time should the nodes be dated?'
|
||||
time-ranges:
|
||||
- 'Now'
|
||||
- '1 hour ago'
|
||||
- '1 day ago'
|
||||
- '1 week ago'
|
||||
- '1 month ago'
|
||||
- '1 year ago'
|
||||
revision: 'Do you want to add revisions?'
|
||||
messages:
|
||||
node-id: 'Node Id'
|
||||
content-type: 'Content type'
|
||||
title: 'Title'
|
||||
created: 'Created Time'
|
||||
invalid-content-types: 'Content types "%s" are invalid'
|
||||
created-nodes: 'Created "%s" nodes successfully'
|
||||
error: 'Error creating nodes: "%s"'
|
||||
examples:
|
||||
- description: 'Provide the content type name.'
|
||||
execution: drupal create:nodes content-name
|
||||
- description: 'Provide the limit of publications, limit of title words, time range and language.'
|
||||
execution: |
|
||||
drupal create:nodes content-name \
|
||||
--limit="5" \
|
||||
--title-words="5" \
|
||||
--time-range="1" \
|
||||
--revision \
|
||||
--language="und"
|
18
old.vendor/drupal/console-en/translations/create.roles.yml
Normal file
18
old.vendor/drupal/console-en/translations/create.roles.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
description: 'Create dummy roles for your Drupal 8 application.'
|
||||
help: 'The <info>create:roles</info> command helps you create dummy roles.'
|
||||
welcome: 'Welcome to the Drupal roles generator'
|
||||
options:
|
||||
limit: 'How many roles would you like to create'
|
||||
questions:
|
||||
limit: 'Enter how many roles would you like to create'
|
||||
messages:
|
||||
role-id: 'Role Id'
|
||||
role-name: 'Rolename'
|
||||
created-roles: 'Created "%s" roles successfully'
|
||||
error: 'Error creating roles: "%s"'
|
||||
examples:
|
||||
- description: 'Provide roles.'
|
||||
execution: drupal create:roles
|
||||
- description: 'Provide the number of roles to create'
|
||||
execution: |
|
||||
drupal create:roles
|
27
old.vendor/drupal/console-en/translations/create.terms.yml
Normal file
27
old.vendor/drupal/console-en/translations/create.terms.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
description: 'Create dummy terms for your Drupal 8 application.'
|
||||
help: 'The <info>create:terms</info> command helps you create dummy terms.'
|
||||
welcome: 'Welcome to the Drupal terms creator'
|
||||
arguments:
|
||||
vocabularies: 'Vocabulary(s) to be used in terms creation'
|
||||
options:
|
||||
limit: 'How many terms would you like to create'
|
||||
name-words: 'Maximum number of words in term names'
|
||||
questions:
|
||||
vocabularies: 'Select vocabulary(s) to be used on terms creation'
|
||||
limit: 'Enter how many terms would you like to create'
|
||||
name-words: 'Enter the maximum number of words in term names'
|
||||
messages:
|
||||
term-id: 'Term Id'
|
||||
vocabulary: 'Vocabulary'
|
||||
name: 'Name'
|
||||
invalid-vocabularies: 'Vocabulary(s) "%s" are invalid'
|
||||
created-terms: 'Created "%s" terms successfully'
|
||||
error: 'Error creating terms: "%s"'
|
||||
examples:
|
||||
- description: 'Provide the vocabulary term name.'
|
||||
execution: drupal create:terms vocabulary
|
||||
- description: 'Provide the limit of terms to add and limit of title words.'
|
||||
execution: |
|
||||
drupal create:terms tags \
|
||||
--limit="10" \
|
||||
--name-words="5"
|
37
old.vendor/drupal/console-en/translations/create.users.yml
Normal file
37
old.vendor/drupal/console-en/translations/create.users.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
description: 'Create dummy users for your Drupal 8 application.'
|
||||
help: 'The <info>create:users</info> command helps you create dummy users.'
|
||||
welcome: 'Welcome to the Drupal users generator'
|
||||
arguments:
|
||||
roles: 'Role(s) to be used in user creation'
|
||||
options:
|
||||
limit: 'How many users would you like to create'
|
||||
password: 'Password to be set to users created'
|
||||
time-range: 'How far back in time should the users be dated'
|
||||
questions:
|
||||
roles: 'Select role(s) to be used on user creation'
|
||||
limit: 'Enter how many users would you like to generate'
|
||||
password: 'Enter the password to be set to users created'
|
||||
time-range: 'How far back in time should the users be dated?'
|
||||
time-ranges:
|
||||
- 'Now'
|
||||
- '1 hour ago'
|
||||
- '1 day ago'
|
||||
- '1 week ago'
|
||||
- '1 month ago'
|
||||
- '1 year ago'
|
||||
messages:
|
||||
user-id: 'User Id'
|
||||
roles: 'Roles'
|
||||
username: 'Username'
|
||||
created: 'Created Time'
|
||||
created-users: 'Created "%s" users successfully'
|
||||
error: 'Error creating users: "%s"'
|
||||
examples:
|
||||
- description: 'Provide the user role.'
|
||||
execution: drupal create:users role
|
||||
- description: 'Provide the number of users to create, password and time range to create.'
|
||||
execution: |
|
||||
drupal create:users role \
|
||||
--limit="5" \
|
||||
--password="usersnewpassword" \
|
||||
--time-range="1"
|
@@ -0,0 +1,20 @@
|
||||
description: 'Create dummy vocabularies for your Drupal 8 application.'
|
||||
help: 'The <info>create:vocabularies</info> command helps you create dummy vocabularies.'
|
||||
welcome: 'Welcome to the Drupal vocabularies creator'
|
||||
options:
|
||||
limit: 'How many vocabularies would you like to create'
|
||||
name-words: 'Maximum number of words in vocabulary names'
|
||||
questions:
|
||||
limit: 'Enter how many vocabularies would you like to create'
|
||||
name-words: 'Enter the maximum number of words in vocabulary names'
|
||||
messages:
|
||||
vocabulary-id: 'Vocabulary Id'
|
||||
name: 'Name'
|
||||
created-terms: 'Created "%s" vocabularies successfully'
|
||||
error: 'Error creating vocabularies: "%s"'
|
||||
examples:
|
||||
- description: 'Provide the number of vocabularies to create and maximum number of words in vocabulary names'
|
||||
execution: |
|
||||
drupal create:vocabularies \
|
||||
--limit="5" \
|
||||
--name-words="5"
|
14
old.vendor/drupal/console-en/translations/cron.execute.yml
Normal file
14
old.vendor/drupal/console-en/translations/cron.execute.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
description: 'Execute cron implementations by module or execute all crons'
|
||||
messages:
|
||||
module-invalid: 'Module "%s" doesn''t have an implementation of cron'
|
||||
executing-cron: 'Executing cron function of module "%s"'
|
||||
success: 'All cron implementations requested were executed successfully'
|
||||
lock: 'Attempting to re-run cron while it is already running'
|
||||
examples:
|
||||
- description: 'Execute the cron globally'
|
||||
execution: |
|
||||
drupal cron:execute
|
||||
- description: 'Execute the cron on the specified module'
|
||||
execution: |
|
||||
drupal cron:execute \
|
||||
<module>
|
@@ -0,0 +1,7 @@
|
||||
description: 'Release cron system lock to run cron again'
|
||||
messages:
|
||||
released: 'Cron lock was released successfully'
|
||||
examples:
|
||||
- description: 'Execute the cron globally'
|
||||
execution: |
|
||||
drupal cron:execute
|
26
old.vendor/drupal/console-en/translations/database.add.yml
Normal file
26
old.vendor/drupal/console-en/translations/database.add.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
description: 'Add a database to settings.php'
|
||||
options:
|
||||
database: 'The database name'
|
||||
username: 'The database username'
|
||||
password: 'The database password'
|
||||
prefix: 'The database prefix'
|
||||
host: 'The database host address'
|
||||
port: 'The database host port'
|
||||
driver: 'The database driver'
|
||||
default: 'Set the database as the default one'
|
||||
questions:
|
||||
database: 'Enter the database name'
|
||||
username: 'Enter the username to access the database'
|
||||
password: 'Enter password for the database user'
|
||||
prefix: 'Enter the database prefix'
|
||||
host: 'Enter the database host address'
|
||||
port: 'Enter the database host port'
|
||||
driver: 'Enter the database driver'
|
||||
error: 'Could not write the site settings file. Either run this command as sudo or temporarily change permissions to allow write access to settings.php.'
|
||||
examples:
|
||||
- description: 'Add a database to the settings.php'
|
||||
execution: |
|
||||
drupal database:add \
|
||||
--database=DATABASE \
|
||||
--username=USERNAME \
|
||||
--password=PASSWORD
|
@@ -0,0 +1,10 @@
|
||||
description: 'Launch a DB client if it''s available'
|
||||
arguments:
|
||||
database: 'Database key from settings.php'
|
||||
target: 'Database target from settings.php'
|
||||
messages:
|
||||
connection: 'Connection: "%s"'
|
||||
examples:
|
||||
- description: 'Launch the default client or could launch another regarding the specification on the argument'
|
||||
execution: |
|
||||
drupal database:client <database>
|
@@ -0,0 +1,14 @@
|
||||
description: "Shows DB connection"
|
||||
arguments:
|
||||
key: "Database key from settings.php"
|
||||
target: "Database target from settings.php"
|
||||
messages:
|
||||
database-not-found: 'Database connection with key "%s" and target "%s" info wasn''t found'
|
||||
database-not-supported: 'Database type "%s" is not supported yet'
|
||||
database-client-not-found: 'Database client "%s" wasn''t found'
|
||||
connection: 'Connection: "%s"'
|
||||
examples:
|
||||
- description: 'Connects to an specified database with key and target, or if no arguments default key and default target will be passed'
|
||||
execution: |
|
||||
drupal database:connect \
|
||||
<key> <target>
|
15
old.vendor/drupal/console-en/translations/database.drop.yml
Normal file
15
old.vendor/drupal/console-en/translations/database.drop.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
description: 'Drop all tables in a given database.'
|
||||
help: 'The <info>database:drop</info> command helps you drop database tables.'
|
||||
arguments:
|
||||
database: 'Database key from settings.php'
|
||||
target: 'Database target from settings.php'
|
||||
question:
|
||||
drop-tables: 'Confirm you really want to drop all tables in the database "%s"?'
|
||||
messages:
|
||||
table: 'Table'
|
||||
table-drop: 'Drop "%s" tables successfully'
|
||||
examples:
|
||||
- description: 'Drop the tables on the database specified on the argument'
|
||||
execution: |
|
||||
drupal database:drop \
|
||||
<database>
|
19
old.vendor/drupal/console-en/translations/database.dump.yml
Normal file
19
old.vendor/drupal/console-en/translations/database.dump.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
description: 'Dump structure and contents of a database'
|
||||
arguments:
|
||||
database: 'Database key from settings.php'
|
||||
target: 'Database target from settings.php'
|
||||
options:
|
||||
file: 'The filename for your database backup'
|
||||
gz: 'Pass this option if you want the sql result file gzipped'
|
||||
exclude-cache: 'Pass this option if you want to exclude cache tables.'
|
||||
messages:
|
||||
success: 'Database exported to:'
|
||||
examples:
|
||||
- description: 'Dump default database or the one specified on the argument'
|
||||
execution: |
|
||||
drupal database:dump \
|
||||
<database>
|
||||
- description: 'Dump in gz compressed format'
|
||||
execution: |
|
||||
drupal database:dump \
|
||||
--gz
|
@@ -0,0 +1,22 @@
|
||||
description: 'Remove events from DBLog table, filters are available'
|
||||
arguments:
|
||||
event-id: 'DBLog event ID'
|
||||
options:
|
||||
type: 'Filter events by a specific type'
|
||||
severity: 'Filter events by a specific level of severity'
|
||||
user-id: 'Filter events by a specific user id'
|
||||
messages:
|
||||
event-deleted: 'Event "%s" was deleted'
|
||||
clear-error: 'Clear process fail, please check used filters'
|
||||
clear-sucess: 'Clear of events was successfully'
|
||||
examples:
|
||||
- description: 'Clear the database log from DBLog table'
|
||||
execution: |
|
||||
drupal database:log:clear \
|
||||
<database>
|
||||
- description: 'Clear the database log from DBLog table using filters'
|
||||
execution: |
|
||||
drupal database:log:clear \
|
||||
<database> \
|
||||
--type=TYPE \
|
||||
--severity=SEVERITY
|
@@ -0,0 +1,13 @@
|
||||
options:
|
||||
type: 'Filter events by a specific type'
|
||||
severity: 'Filter events by a specific level of severity'
|
||||
user-id: 'Filter events by a specific user id'
|
||||
messages:
|
||||
event-id: 'Event ID'
|
||||
type: Type
|
||||
date: Date
|
||||
message: Message
|
||||
user: User
|
||||
severity: Severity
|
||||
invalid-severity: 'Severity type is invalid, filter was ignored'
|
||||
user-deleted: 'User has been deleted'
|
@@ -0,0 +1,14 @@
|
||||
description: 'Poll the watchdog and print new log entries every x seconds'
|
||||
arguments:
|
||||
duration: 'Duration in seconds which to sleep between database reads'
|
||||
messages:
|
||||
warning: |
|
||||
Do not use in production environments
|
||||
As this script blocks you are advised to only run it on vm's with multiple cores for performance reasons
|
||||
Stop this polling mechanism before you clean/truncate the watchdog table!
|
||||
Quit with ^C
|
||||
examples:
|
||||
- description: 'Print the log entries on screen every x seconds'
|
||||
execution: |
|
||||
drupal database:log:poll \
|
||||
100
|
20
old.vendor/drupal/console-en/translations/database.query.yml
Normal file
20
old.vendor/drupal/console-en/translations/database.query.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
description: 'Executes a SQL statement directly as argument'
|
||||
arguments:
|
||||
query: 'The SQL statement to execute'
|
||||
database: 'Database key from settings.php'
|
||||
target: 'Database target from settings.php'
|
||||
options:
|
||||
quick: 'Do not cache each query result, print each row as it is received'
|
||||
debug: 'Prints debugging information and memory and CPU usage statistics when the program exits'
|
||||
html: 'Produce HTML output'
|
||||
xml: 'Produce XML output'
|
||||
raw: 'Special characters are not escaped in the output.'
|
||||
vertical: 'Print query output rows vertically'
|
||||
batch: 'Print results using tab as the column separator, with each row on a new line. With this option, mysql does not use the history file'
|
||||
messages:
|
||||
connection: 'Connection: "%s"'
|
||||
help: 'First argument should be the SQL statement. Second argument could be the name of the affected database.'
|
||||
examples:
|
||||
- description: 'Send a database query'
|
||||
execution: |
|
||||
drupal database:query 'select * from node limit 0,1'
|
@@ -0,0 +1,15 @@
|
||||
description: 'Restore structure and contents of a database.'
|
||||
arguments:
|
||||
database: 'Database key from settings.php'
|
||||
target: 'Database target from settings.php'
|
||||
options:
|
||||
file: 'The filename for your database backup file (absolute path) . If using a .sql.gz file, the gunzip command needs to be installed.'
|
||||
messages:
|
||||
success: 'Database imported from:'
|
||||
no-file: 'Missing file option'
|
||||
help: 'Restore structure and contents of a database.'
|
||||
examples:
|
||||
- description: 'Restore the database file dump to the database default or another one specified'
|
||||
execution: |
|
||||
drupal database:restore \
|
||||
--file='/srv/dump/db.sql'
|
@@ -0,0 +1,9 @@
|
||||
description: 'Displays breakpoints available in application'
|
||||
options:
|
||||
group-name: 'Enter Breakpoint Group Name'
|
||||
messages:
|
||||
name: 'Extensions with breakpoints'
|
||||
examples:
|
||||
- description: 'Displays the breakpoints available on the site'
|
||||
execution: |
|
||||
drupal debug:breakpoints
|
@@ -0,0 +1,9 @@
|
||||
description: 'Displays current cache context for the application.'
|
||||
messages:
|
||||
code: 'Context ID'
|
||||
label: 'Label'
|
||||
class: 'Class path'
|
||||
examples:
|
||||
- description: 'Displays cache context'
|
||||
execution: |
|
||||
drupal debug:cache:context
|
@@ -0,0 +1,6 @@
|
||||
description: 'List available chain files.'
|
||||
messages:
|
||||
directory: 'Directory'
|
||||
file: 'File name.'
|
||||
command: 'Command name.'
|
||||
no-files: 'No chain files found.'
|
@@ -0,0 +1,9 @@
|
||||
description: 'Displays current key:value on settings file.'
|
||||
help: 'The <info>debug:config:settings</info> command helps you displaying current key:value on settings file.'
|
||||
welcome: 'Welcome to the Drupal Config Settings Debug command'
|
||||
messages:
|
||||
current: 'Current Key:value on settings file'
|
||||
examples:
|
||||
- description: 'Displays key:value as per the settings file'
|
||||
execution: |
|
||||
drupal debug:config:settings
|
@@ -0,0 +1,14 @@
|
||||
description: 'Validate a schema implementation before a module is installed.'
|
||||
help: 'Helper function to validate a schema implementation before a module is installed. Specify the config and the schema file paths as arguments and validation will be run against them, making schema easier to debug without time consuming installs'
|
||||
options: {}
|
||||
arguments: {}
|
||||
messages:
|
||||
noConfFile: 'Config file at the specified path does not exist'
|
||||
noConfSchema: 'Config schema at the specified path does not exist'
|
||||
noSchemaName: 'Could not find schema definition in schema file. Using definition name:'
|
||||
examples:
|
||||
- description: 'Validates a schema'
|
||||
execution: |
|
||||
drupal debug:config:validate \
|
||||
/path/to/file \
|
||||
/path/to/schema-filepath
|
17
old.vendor/drupal/console-en/translations/debug.config.yml
Normal file
17
old.vendor/drupal/console-en/translations/debug.config.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
description: 'List configuration objects names and single configuration object.'
|
||||
arguments:
|
||||
name: 'Configuration object name, for example "system.site".'
|
||||
options:
|
||||
show-overridden: 'Show overridden configurations.'
|
||||
errors:
|
||||
not-exists: 'The configuration "%s" does not exist.'
|
||||
|
||||
examples:
|
||||
- description: 'List all configuration object names.'
|
||||
execution: 'drupal debug:config'
|
||||
- description: 'Display system site configurations values.'
|
||||
execution: 'drupal debug:config system.site'
|
||||
- description: 'List all system configuration names.'
|
||||
execution: 'drupal debug:config | grep system'
|
||||
- description: 'List all configuration including overridden values.'
|
||||
execution: 'drupal debug:config --show-overridden'
|
@@ -0,0 +1,25 @@
|
||||
description: 'Displays current services for an application.'
|
||||
arguments:
|
||||
service: 'Service name.'
|
||||
method: 'Method name.'
|
||||
arguments: 'Array of Arguments in CSV or JSON format.'
|
||||
options:
|
||||
tag: 'Service tag '
|
||||
messages:
|
||||
service-id: 'Service ID'
|
||||
class-name: 'Class Name'
|
||||
service: 'Service'
|
||||
class: 'Class'
|
||||
interface: 'Interface(s)'
|
||||
parent: 'Parent class'
|
||||
variables: 'Variables'
|
||||
methods: 'Methods'
|
||||
arguments: 'Arguments'
|
||||
method: 'Method'
|
||||
return: 'Return'
|
||||
errors:
|
||||
method-not-exists: 'This method doesn''t exists in this service.'
|
||||
examples:
|
||||
- description: 'Displays the views.views_data_helper services'
|
||||
execution: |
|
||||
drupal debug:container views.views_data_helper
|
8
old.vendor/drupal/console-en/translations/debug.cron.yml
Normal file
8
old.vendor/drupal/console-en/translations/debug.cron.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
description: 'List of modules implementing a cron'
|
||||
messages:
|
||||
module-list: 'Modules implementing a cron method'
|
||||
module: Module
|
||||
examples:
|
||||
- description: 'This will show a list with modules implementing the cron hook'
|
||||
execution: |
|
||||
drupal debug:cron
|
@@ -0,0 +1,17 @@
|
||||
description: 'Displays current log events for the application'
|
||||
arguments:
|
||||
event-id: 'DBLog event ID'
|
||||
options:
|
||||
asc: 'List events in ascending order'
|
||||
limit: 'Limit results to a specific number'
|
||||
offset: 'Starting point of a limit'
|
||||
yml: 'Print in a yml style'
|
||||
messages:
|
||||
not-found: 'DBLog event "%s" wasn''t found'
|
||||
examples:
|
||||
- description: 'List all the entries on the log'
|
||||
execution: |
|
||||
drupal debug:database:log
|
||||
- description: 'List specific log entry by Event ID'
|
||||
execution: |
|
||||
drupal debug:database:log 21228
|
@@ -0,0 +1,18 @@
|
||||
description: 'Show all tables in a given database.'
|
||||
help: 'The <info>debug:database:table</info> command helps you debug database tables.'
|
||||
arguments:
|
||||
table: 'Table to debug'
|
||||
options:
|
||||
database: 'Database key from settings.php'
|
||||
messages:
|
||||
table-show: 'Showing tables for "%s" database'
|
||||
table: 'Table'
|
||||
column: 'Column'
|
||||
type: 'Type'
|
||||
examples:
|
||||
- description: 'Show all tables in a database'
|
||||
execution: |
|
||||
drupal debug:database:table
|
||||
- description: 'Show fields in the node table or another specified in the argument'
|
||||
execution: |
|
||||
drupal debug:database:table node
|
12
old.vendor/drupal/console-en/translations/debug.entity.yml
Normal file
12
old.vendor/drupal/console-en/translations/debug.entity.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
description: 'Debug entities available in the system'
|
||||
help: 'The <info>debug:entity</info> command helps get a list of entities.'
|
||||
arguments:
|
||||
questions:
|
||||
messages:
|
||||
table-headers:
|
||||
entity-name: 'Entity name'
|
||||
entity-type: 'Entity type'
|
||||
examples:
|
||||
- description: 'Displays the available entities'
|
||||
execution: |
|
||||
drupal debug:entity
|
16
old.vendor/drupal/console-en/translations/debug.event.yml
Normal file
16
old.vendor/drupal/console-en/translations/debug.event.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
description: 'Displays current events '
|
||||
help: 'The <info>debug:event</info> command helps you debug events.'
|
||||
arguments:
|
||||
event: 'Event to debug'
|
||||
messages:
|
||||
event: Event Name
|
||||
class: 'Class'
|
||||
method: 'Method'
|
||||
no-events: 'This event does not exist, try to execute command: debug:event'
|
||||
examples:
|
||||
- description: 'List all the events that could be debugged'
|
||||
execution: |
|
||||
drupal debug:event
|
||||
- description: 'Show the information for the kernel.request event'
|
||||
execution: |
|
||||
drupal debug:event kernel.request
|
10
old.vendor/drupal/console-en/translations/debug.features.yml
Normal file
10
old.vendor/drupal/console-en/translations/debug.features.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
description: 'List registered features.'
|
||||
help: 'List registered features.'
|
||||
arguments:
|
||||
bundle: 'Bundle name'
|
||||
messages:
|
||||
bundle: 'Bundle'
|
||||
name: 'Name'
|
||||
machine-name: 'Machine Name'
|
||||
status: 'Status'
|
||||
state: 'State'
|
@@ -0,0 +1,9 @@
|
||||
description: 'List image styles on the site'
|
||||
messages:
|
||||
styles-list: 'Image Styles defined in the site'
|
||||
styles-label: 'Label'
|
||||
styles-name: 'Machine Name'
|
||||
examples:
|
||||
- description: 'List all images styles on the site'
|
||||
execution: |
|
||||
drupal debug:image:styles
|
@@ -0,0 +1,17 @@
|
||||
description: 'Displays libraries available in application'
|
||||
options:
|
||||
name: 'Extension or Library Name'
|
||||
messages:
|
||||
extension: 'Extension'
|
||||
library: 'Library'
|
||||
info: 'Library Information'
|
||||
examples:
|
||||
- description: 'List all extensions with libraries'
|
||||
execution: |
|
||||
drupal debug:libraries
|
||||
- description: 'List block extension libraries'
|
||||
execution: |
|
||||
drupal debug:libraries block
|
||||
- description: 'List block/drupal.block library'
|
||||
execution: |
|
||||
drupal debug:libraries block/drupal.block
|
12
old.vendor/drupal/console-en/translations/debug.migrate.yml
Normal file
12
old.vendor/drupal/console-en/translations/debug.migrate.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
description: 'Display current migration available for the application'
|
||||
arguments:
|
||||
tag: 'Migrate tag'
|
||||
messages:
|
||||
id: 'Migration Id'
|
||||
description: Description
|
||||
no-migrations: 'There aren''t migrations available try to execute command: migrate:setup:migrations'
|
||||
tags: Tags
|
||||
examples:
|
||||
- description: 'Displays current migration'
|
||||
execution: |
|
||||
drupal debug:migrate
|
20
old.vendor/drupal/console-en/translations/debug.module.yml
Normal file
20
old.vendor/drupal/console-en/translations/debug.module.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
description: 'Displays current modules available for application'
|
||||
module: 'Module name'
|
||||
options:
|
||||
status: 'Module status [installed|uninstalled]'
|
||||
type: 'Module type [core|no-core]'
|
||||
messages:
|
||||
id: ID
|
||||
name: Name
|
||||
status: Status
|
||||
origin: Origin
|
||||
package: Package
|
||||
installed: Installed
|
||||
uninstalled: Uninstalled
|
||||
version: Version
|
||||
schema-version: 'Schema version'
|
||||
examples:
|
||||
- description: 'Display all installed modules'
|
||||
execution: 'drupal debug:module --status=installed'
|
||||
- description: 'Display all installed and no core modules with alias'
|
||||
execution: 'drupal dm --status=installed --type=no-core'
|
@@ -0,0 +1,11 @@
|
||||
description: 'List all multi-sites available in system'
|
||||
help: 'The <info>debug:multisite</info> list all known multi-sites.'
|
||||
messages:
|
||||
no-multisites: 'No multi-sites configured'
|
||||
site: 'Site'
|
||||
directory: 'Directory'
|
||||
site-format: 'Sites are written using the format: <port>.<domain>.<path>'
|
||||
examples:
|
||||
- description: 'Displays multi-site information'
|
||||
execution: |
|
||||
drupal debug:multisite
|
@@ -0,0 +1,22 @@
|
||||
description: 'Displays all user permissions.'
|
||||
help: |
|
||||
Display all user permissions and also list all user permissions from a specific user role.
|
||||
|
||||
List all user permissions:
|
||||
<info>drupal debug:permission</info>
|
||||
|
||||
List all user permissions from a user role
|
||||
<info>drupal debug:permission authenticated</info>
|
||||
|
||||
arguments:
|
||||
role: 'User role'
|
||||
messages:
|
||||
role-error: 'Role "%s" does not exist. Please use an existing user role.'
|
||||
table-headers:
|
||||
permission-name: 'Permission name'
|
||||
permission-label: 'Permission Label'
|
||||
permission-role: 'Role'
|
||||
examples:
|
||||
- description: 'Displays all the permissions availables on the site'
|
||||
execution: |
|
||||
drupal debug:permission
|
39
old.vendor/drupal/console-en/translations/debug.plugin.yml
Normal file
39
old.vendor/drupal/console-en/translations/debug.plugin.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
description: 'Displays all plugin types.'
|
||||
help: |
|
||||
Display all plugin types, plugin instances of a specific type, or the definition for a specific plugin.
|
||||
|
||||
List all plugin types:
|
||||
<info>drupal debug:plugin</info>
|
||||
|
||||
List all instances of the image effect plugin type:
|
||||
<info>drupal debug:plugin image.effect</info>
|
||||
|
||||
Show the definition for the image convert plugin:
|
||||
<info>drupal debug:plugin image.effect image_convert</info>
|
||||
|
||||
<comment>NOTE: Only plugin types exposed through services are supported.</comment> When developing a custom plugin type, expose it as a service by adding it to modulename.services.yml with the name "plugin.manager.PLUGIN_TYPE".
|
||||
arguments:
|
||||
type: 'Plugin type'
|
||||
id: 'Plugin ID'
|
||||
errors:
|
||||
plugin-type-not-found: 'Plugin type "%s" not found. No service available for that type.'
|
||||
messages:
|
||||
plugin-info: 'Plugin additional information'
|
||||
table-headers:
|
||||
plugin-type-name: 'Plugin type'
|
||||
plugin-type-class: 'Plugin manager class'
|
||||
plugin-id: 'Plugin ID'
|
||||
plugin-class: 'Plugin class'
|
||||
definition-key: 'Key'
|
||||
definition-value: 'Value'
|
||||
setting: 'Setting'
|
||||
examples:
|
||||
- description: 'Displays a list with all the plugins on the current site'
|
||||
execution: |
|
||||
drupal debug:plugin
|
||||
- description: 'Displays block plugin information'
|
||||
execution: |
|
||||
drupal debug:plugin block
|
||||
- description: 'Displays block broken information'
|
||||
execution: |
|
||||
drupal debug:plugin block broken
|
@@ -0,0 +1,9 @@
|
||||
description: 'Displays the queues of your application'
|
||||
messages:
|
||||
queue: 'Queue'
|
||||
items: 'Items'
|
||||
class: 'Class'
|
||||
examples:
|
||||
- description: 'Displays the queues of the application'
|
||||
execution: |
|
||||
drupal debug:queue
|
21
old.vendor/drupal/console-en/translations/debug.rest.yml
Normal file
21
old.vendor/drupal/console-en/translations/debug.rest.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
description: 'Display current rest resource for the application'
|
||||
arguments:
|
||||
resource-id: 'Rest ID'
|
||||
options:
|
||||
status: 'Rest resource status enabled | disabled'
|
||||
messages:
|
||||
id: 'Rest ID'
|
||||
label: Label
|
||||
canonical-url: 'Canonical URL'
|
||||
status: Status
|
||||
provider: Provider
|
||||
enabled: Enabled
|
||||
disabled: Disabled
|
||||
rest-state: 'REST States'
|
||||
supported-formats: 'Supported Formats'
|
||||
supported-auth: 'Supported Authentication Providers'
|
||||
not-found: 'Rest resource "%s" not found'
|
||||
examples:
|
||||
- description: 'Displays rest hooks'
|
||||
execution: |
|
||||
drupal debug:rest
|
10
old.vendor/drupal/console-en/translations/debug.roles.yml
Normal file
10
old.vendor/drupal/console-en/translations/debug.roles.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
description: 'Displays current roles for the application'
|
||||
help: 'The <info>debug:roles</info> command helps you get current roles.'
|
||||
welcome: 'Welcome to the Drupal roles debug'
|
||||
messages:
|
||||
role-id: 'Role ID'
|
||||
role-name: 'Role Name'
|
||||
examples:
|
||||
- description: 'Roles list on the site'
|
||||
execution: |
|
||||
drupal debug:roles
|
27
old.vendor/drupal/console-en/translations/debug.router.yml
Normal file
27
old.vendor/drupal/console-en/translations/debug.router.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
description: 'Displays current routes for the application or information for a particular route'
|
||||
arguments:
|
||||
route-name: 'Route names'
|
||||
options:
|
||||
pattern: 'Route pattern'
|
||||
messages:
|
||||
name: 'Route name'
|
||||
class: 'Class path'
|
||||
route: Route
|
||||
path: Path
|
||||
defaults: Defaults
|
||||
requirements: Requirements
|
||||
options: Options
|
||||
examples:
|
||||
- description: 'Displays current routes for the application'
|
||||
execution: 'drupal rod'
|
||||
- description: 'Displays details for the route user.page (/user)'
|
||||
execution: 'drupal rod user.page'
|
||||
- description: 'Shows the routes list on the site'
|
||||
execution: |
|
||||
drupal debug:router
|
||||
- description: 'Display information on the user.login'
|
||||
execution: |
|
||||
drupal debug:router user.login
|
||||
- description: 'Display information for the routes by pattern (/user/login)'
|
||||
execution: |
|
||||
drupal debug:router --pattern=/user/login
|
@@ -0,0 +1,9 @@
|
||||
description: 'List user Drupal Console settings.'
|
||||
messages:
|
||||
config-key: 'Config key'
|
||||
config-value: 'Config value'
|
||||
config-file: 'Config file'
|
||||
examples:
|
||||
- description: 'List user Drupal Console settings.'
|
||||
execution: |
|
||||
drupal debug:settings
|
20
old.vendor/drupal/console-en/translations/debug.site.yml
Normal file
20
old.vendor/drupal/console-en/translations/debug.site.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
description: 'List all known local and remote sites.'
|
||||
help: 'The <info>debug:site</info> list all known local and remote sites.'
|
||||
messages:
|
||||
site: 'Site'
|
||||
host: 'Host'
|
||||
root: 'Root'
|
||||
invalid-sites: 'No sites defined.'
|
||||
invalid-sites-using: |
|
||||
Using a site alias requires local configuration, more info at:
|
||||
https://docs.drupalconsole.com/en/alias/using-site-alias.html
|
||||
invalid-site: 'Invalid site name'
|
||||
private-key: 'Error with private key'
|
||||
connect-error: 'Error connecting to remote machine'
|
||||
options:
|
||||
target: 'Target'
|
||||
property: 'Property'
|
||||
examples:
|
||||
- description: 'List all known local and remote sites.'
|
||||
execution: |
|
||||
drupal debug:site
|
13
old.vendor/drupal/console-en/translations/debug.state.yml
Normal file
13
old.vendor/drupal/console-en/translations/debug.state.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
description: 'Show the current State keys.'
|
||||
help: 'Show the current State keys.'
|
||||
arguments:
|
||||
key: 'The State key to debug.'
|
||||
messages:
|
||||
key: 'The State key'
|
||||
examples:
|
||||
- description: 'List of the states on the site'
|
||||
execution: |
|
||||
drupal debug:state
|
||||
- description: 'Displays a detail of the state install_task tok from the list of states'
|
||||
execution: |
|
||||
drupal debug:state install_task
|
20
old.vendor/drupal/console-en/translations/debug.test.yml
Normal file
20
old.vendor/drupal/console-en/translations/debug.test.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
description: 'List Test Units available for the application.'
|
||||
help: 'List Test Units available for the application.'
|
||||
arguments:
|
||||
test-class: 'Test Class'
|
||||
options:
|
||||
group: Group
|
||||
messages:
|
||||
class: 'Test Class'
|
||||
description: Description
|
||||
group: Group
|
||||
type: 'Test Type'
|
||||
missing-dependency: 'Missing dependency'
|
||||
methods: 'Test methods'
|
||||
not-found: 'Debug wasn''t found, try enclosure test id between double quotes.'
|
||||
success-groups: 'All testing groups were listed sucessfully, use the group argument to filter Test unit by group i.e $ drupal debug:test Url'
|
||||
success-group: 'All test units for group "%s" were listed sucessfully'
|
||||
examples:
|
||||
- description: ''
|
||||
execution: |
|
||||
drupal debug:test
|
@@ -0,0 +1,22 @@
|
||||
description: 'Displays all theme keys provided by hook_theme functions'
|
||||
help: |
|
||||
Display all theme keys, or the definition for a specific theme key.
|
||||
|
||||
List all theme keys:
|
||||
<info>drupal debug:theme:keys</info>
|
||||
|
||||
Show the definition for the item_list theme key:
|
||||
<info>drupal debug:theme:keys item_list</info>
|
||||
arguments:
|
||||
key: 'Key'
|
||||
table-headers:
|
||||
key: 'Key'
|
||||
provider-type: 'Provider type'
|
||||
provider: 'Provider'
|
||||
value: 'Value'
|
||||
provider-types:
|
||||
module: 'Module'
|
||||
base-theme-engine: 'Base theme engine'
|
||||
base-theme: 'Base theme'
|
||||
theme-engine: 'Theme engine'
|
||||
theme: 'Theme'
|
22
old.vendor/drupal/console-en/translations/debug.theme.yml
Normal file
22
old.vendor/drupal/console-en/translations/debug.theme.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
description: 'Displays current themes for the application'
|
||||
arguments:
|
||||
theme: 'Specific theme to debug'
|
||||
messages:
|
||||
theme-id: 'Id'
|
||||
theme-name: 'Name'
|
||||
status: 'Status'
|
||||
version: 'Version'
|
||||
installed: 'Installed'
|
||||
uninstalled: 'Uninstalled'
|
||||
default-theme: 'Default theme'
|
||||
properties: 'Properties'
|
||||
regions: 'Regions'
|
||||
invalid-theme: 'Theme "%s" is invalid'
|
||||
theme-properties: 'Properties'
|
||||
examples:
|
||||
- description: 'List of themes on the site'
|
||||
execution: |
|
||||
drupal debug:theme
|
||||
- description: 'Bartik theme information'
|
||||
execution: |
|
||||
drupal debug:theme bartik
|
@@ -0,0 +1,13 @@
|
||||
description: 'Displays current updates available from the composer file'
|
||||
options:
|
||||
only-drupal: Show only drupal (modules/themes) updates
|
||||
messages:
|
||||
description: 'Description'
|
||||
current-version: 'Version'
|
||||
latest-version: 'Latest'
|
||||
name: 'Name'
|
||||
composer-list: 'Composer with pending updates'
|
||||
examples:
|
||||
- description: 'List of pending updates from composer'
|
||||
execution: |
|
||||
drupal debug:update:composer
|
17
old.vendor/drupal/console-en/translations/debug.update.yml
Normal file
17
old.vendor/drupal/console-en/translations/debug.update.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
description: 'Displays current updates available for the application'
|
||||
messages:
|
||||
no-updates: 'No pending updates'
|
||||
severity: 'Severity'
|
||||
title: 'Title'
|
||||
value: 'Value'
|
||||
description: 'Description'
|
||||
requirements-error: 'The following requirement weren''t completed'
|
||||
module-list: 'Modules with pending updates'
|
||||
module-list-post-update: 'Modules with pending post updates'
|
||||
module: 'Module'
|
||||
update-n: 'Update N'
|
||||
post-update: 'Post update function'
|
||||
examples:
|
||||
- description: 'List of pending updates'
|
||||
execution: |
|
||||
drupal debug:update
|
21
old.vendor/drupal/console-en/translations/debug.user.yml
Normal file
21
old.vendor/drupal/console-en/translations/debug.user.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
description: 'Displays current users for the application'
|
||||
help: 'The <info>debug:user</info> command helps you get current users.'
|
||||
welcome: 'Welcome to the Drupal user debug'
|
||||
options:
|
||||
roles: 'Roles to filter debug'
|
||||
limit: 'How many users would you like to be listed in debug'
|
||||
uid: 'Filters the result list by uids [between quotes separated by spaces]'
|
||||
username: 'Filters the result list by user-names [between quotes separated by spaces]'
|
||||
mail: 'Filters the result list by user''s e-mail [between quotes separated by spaces]'
|
||||
questions:
|
||||
roles: 'Select role(s) to be used to filter user debug list'
|
||||
limit: 'Enter how many users would you like to show'
|
||||
messages:
|
||||
user-id: 'User ID'
|
||||
username: 'Username'
|
||||
roles: 'Roles'
|
||||
status: 'Status'
|
||||
examples:
|
||||
- description: 'Users list on the site'
|
||||
execution: |
|
||||
drupal debug:user
|
@@ -0,0 +1,12 @@
|
||||
description: 'Displays current views plugins for the application'
|
||||
arguments:
|
||||
type: 'Filter views plugins by type'
|
||||
messages:
|
||||
type: 'Type'
|
||||
name: 'Name'
|
||||
provider: 'Provider'
|
||||
views: 'Views'
|
||||
examples:
|
||||
- description: 'List of views plugins'
|
||||
execution: |
|
||||
drupal debug:views:plugins
|
22
old.vendor/drupal/console-en/translations/debug.views.yml
Normal file
22
old.vendor/drupal/console-en/translations/debug.views.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
description: 'Displays current views resources for the application'
|
||||
arguments:
|
||||
view-id: 'View ID'
|
||||
view-tag: 'View tag'
|
||||
view-status: 'View status (Enabled|Disabled)'
|
||||
messages:
|
||||
view-id: 'View ID'
|
||||
view-name: 'View name'
|
||||
description: Description
|
||||
tag: Tag
|
||||
status: Status
|
||||
path: Path
|
||||
not-found: 'View "%s" wasn''t found.'
|
||||
display-list: 'Display list'
|
||||
display-id: ID
|
||||
display-name: Name
|
||||
display-description: Description
|
||||
display-paths: Paths
|
||||
examples:
|
||||
- description: 'List of views on the site'
|
||||
execution: |
|
||||
drupal debug:views
|
@@ -0,0 +1,7 @@
|
||||
messages:
|
||||
change-devel-dumper-plugin: 'Change the devel dumper plugin'
|
||||
name-devel-dumper-plugin: 'Name of the devel dumper plugin'
|
||||
devel-must-be-installed: 'Devel must be installed'
|
||||
select-debug-dumper: 'Select a Debug Dumper'
|
||||
dumper-not-exist: 'Dumper does not exist'
|
||||
devel-dumper-set: 'Devel Dumper set to: "%s"'
|
@@ -0,0 +1 @@
|
||||
description: 'Create a docker-compose.yml file'
|
38
old.vendor/drupal/console-en/translations/dotenv.init.yml
Normal file
38
old.vendor/drupal/console-en/translations/dotenv.init.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
description: 'Add support and required config to work with an .env file'
|
||||
messages:
|
||||
template-env: |
|
||||
This file is a "template" of which env vars need to be defined
|
||||
for your application, use only on development stages.
|
||||
Create real environment variables when deploying to production.
|
||||
load-from-env: |
|
||||
If not using real environment variables.
|
||||
Make sure you add the dependency using composer
|
||||
|
||||
Drupal 8.5 and up versions `composer require symfony/dotenv`
|
||||
if (file_exists(dirname(DRUPAL_ROOT) . '/.env')) {
|
||||
$dotenv = new \Symfony\Component\Dotenv\Dotenv(dirname(DRUPAL_ROOT));
|
||||
$dotenv->load();
|
||||
}
|
||||
|
||||
Drupal 8.4 and minor versions `composer require vlucas/phpdotenv`
|
||||
if (file_exists(dirname(DRUPAL_ROOT) . '/.env')) {
|
||||
$dotenv = new \Dotenv\Dotenv(dirname(DRUPAL_ROOT));
|
||||
$dotenv->load();
|
||||
}
|
||||
load-settings: |
|
||||
# Load key/value settings
|
||||
$settings_drupal = array_filter(
|
||||
$_SERVER,
|
||||
function($key) {
|
||||
return strpos($key, 'SETTINGS_') === 0;
|
||||
},
|
||||
ARRAY_FILTER_USE_KEY
|
||||
);
|
||||
|
||||
# Set key/value settings
|
||||
foreach ($settings_drupal as $name => $value) {
|
||||
if (substr($name, 0, 9) === 'SETTINGS_') {
|
||||
$key = strtolower(substr($name, 9));
|
||||
$settings['settings'][$key] = $value;
|
||||
}
|
||||
}
|
3
old.vendor/drupal/console-en/translations/drush.yml
Normal file
3
old.vendor/drupal/console-en/translations/drush.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
description: 'Drupal Console equivalents'
|
||||
messages:
|
||||
not-found: 'Drush command not found'
|
1
old.vendor/drupal/console-en/translations/elephpant.yml
Normal file
1
old.vendor/drupal/console-en/translations/elephpant.yml
Normal file
@@ -0,0 +1 @@
|
||||
description: 'Elephpants are cute ...'
|
19
old.vendor/drupal/console-en/translations/entity.delete.yml
Normal file
19
old.vendor/drupal/console-en/translations/entity.delete.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
description: 'Delete a specific entity'
|
||||
help: 'The <info>entity:delete</info> command helps you delete entities.'
|
||||
arguments:
|
||||
entity-definition-id: 'Entity definition id'
|
||||
entity-id: 'Entity ID to be deleted'
|
||||
options:
|
||||
all: 'Delete all entities of the given type.'
|
||||
questions:
|
||||
entity-type: 'Enter the Entity type'
|
||||
entity-definition-id: 'Enter the Entity definitin id'
|
||||
entity-id: 'Enter the Entity ID to be deleted'
|
||||
messages:
|
||||
confirm-delete-all: 'Do you want to delete all entities of type "%s" ("%d")?'
|
||||
deleted: 'Entity "%s" with id "%s" was deleted successfully'
|
||||
deleted-all: 'All entities of type "%s" ("%d") were deleted.'
|
||||
examples:
|
||||
- description: 'Delete entity type content using node id'
|
||||
execution: |
|
||||
drupal entity:delete node 1
|
12
old.vendor/drupal/console-en/translations/exec.yml
Normal file
12
old.vendor/drupal/console-en/translations/exec.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
description: 'Execute an external command.'
|
||||
arguments:
|
||||
bin: 'Executable command.'
|
||||
options:
|
||||
working-directory: 'The current working directory.'
|
||||
messages:
|
||||
success: 'Executed the command.'
|
||||
invalid-bin: 'Error executing the command.'
|
||||
missing-bin: 'Provide an executable command.'
|
||||
binary-not-found: 'Unable to find the binary "%s" to execute.'
|
||||
working-directory: 'Working directory'
|
||||
executing-command: 'Executing command'
|
@@ -0,0 +1,15 @@
|
||||
description: 'Import module config.'
|
||||
help: ''
|
||||
options:
|
||||
bundle: 'Bundle name'
|
||||
arguments:
|
||||
packages: 'Package name'
|
||||
questions:
|
||||
packages: 'Enter package name to import'
|
||||
messages:
|
||||
no-packages: 'No packages available.'
|
||||
not-available: 'Package "%s", not available.'
|
||||
importing: 'Importing package "%s".'
|
||||
uninstall: 'Package "%s" already installed.'
|
||||
reverting: 'Reverting package "%s".'
|
||||
nothing: 'Nothing to import.'
|
18
old.vendor/drupal/console-en/translations/field.info.yml
Normal file
18
old.vendor/drupal/console-en/translations/field.info.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
description: 'View information about fields.'
|
||||
help: 'View information about fields.'
|
||||
options:
|
||||
detailed: 'Extended output with machine names and descriptions'
|
||||
entity: 'Restrict to a specific fieldabe entity type, for example: node, comment, taxonomy_term, shortcut, block_content, contact_message'
|
||||
bundle: 'Restrict to a specific bundle type, for example: article'
|
||||
messages:
|
||||
fields-none: 'No fields found'
|
||||
entity-type: 'Fieldable entity type'
|
||||
bundle-type: 'Bundle type'
|
||||
not-found: 'not found'
|
||||
in-entity-type: 'in entity type'
|
||||
in-bundle-type: 'in bundle type'
|
||||
table:
|
||||
header-name: 'Field label'
|
||||
header-type: 'Field type'
|
||||
header-desc: 'Field description'
|
||||
header-usage: 'Also used in'
|
@@ -0,0 +1,13 @@
|
||||
description: 'Generate & Register a custom ajax command'
|
||||
help: 'The <info>generate:ajax:command</info> command helps you generate a new custom ajax command.'
|
||||
welcome: 'Welcome to the Drupal Ajax generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
class: 'Ajax Class name'
|
||||
method: 'Custom ajax method'
|
||||
js-name: 'Custom javascript name'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
class: 'Enter the Ajax class name'
|
||||
method: 'Enter the render method name'
|
||||
js-name: 'Enter a custom javascript name'
|
@@ -0,0 +1,18 @@
|
||||
description: 'Generate an Authentication Provider'
|
||||
help: 'The <info>generate:authentication:provider</info> command helps you generate a new Authentication Provider.'
|
||||
welcome: 'Welcome to the Drupal Authentication Provider generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
class: 'Authentication Provider class'
|
||||
provider-id: 'Provider ID'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
class: 'Enter the Authentication Provider class'
|
||||
provider-id: 'Enter the Provider ID'
|
||||
examples:
|
||||
- description: 'Generate an authentication provider specifying the module, the class and the provider id'
|
||||
execution: |
|
||||
drupal generate:authentication:provider \
|
||||
--module="modulename" \
|
||||
--class="DefaultAuthenticationProvider" \
|
||||
--provider-id="default_authentication_provider"
|
@@ -0,0 +1,26 @@
|
||||
description: 'Generate a block content type'
|
||||
help: 'The <info>generate:block:type</info> command helps you generate a new block content type.'
|
||||
welcome: 'Welcome to the Drupal Block Type generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
class: 'Block type class name'
|
||||
block-label: 'Block content type label'
|
||||
block-description: 'Block content type description'
|
||||
block-id: 'Block id'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
class: 'Enter the block class name'
|
||||
block-label: 'Enter the block label'
|
||||
block-description: 'Enter the block description'
|
||||
block-id: 'Enter the block content type id'
|
||||
description: 'Description'
|
||||
default-value: 'Default value'
|
||||
messages:
|
||||
examples:
|
||||
- description: 'Generate a block content type specifying the module name'
|
||||
execution: |
|
||||
drupal generate:block:type \
|
||||
--module="modulename" \
|
||||
--class="DefaultBlock" \
|
||||
--label="Default block" \
|
||||
--block-id="default_block"
|
@@ -0,0 +1,20 @@
|
||||
description: 'Generate breakpoint'
|
||||
help: 'The <info>generate:breakpoint</info> command helps you generates a new breakpoint'
|
||||
welcome: 'Welcome to the Drupal breakpoint generator'
|
||||
options:
|
||||
theme: 'Theme name'
|
||||
breakpoints: Breakpoints
|
||||
questions:
|
||||
theme: 'Enter the theme name (i.e. classy, stable)'
|
||||
breakpoint-name: 'Enter breakpoint name'
|
||||
breakpoint-label: 'Enter breakpoint label'
|
||||
breakpoint-media-query: 'Enter breakpoint media query'
|
||||
breakpoint-weight: 'Enter breakpoint weight'
|
||||
breakpoint-multipliers: 'Enter breakpoint multipliers'
|
||||
breakpoint-add: 'Do you want to add another breakpoint?'
|
||||
examples:
|
||||
- description: 'Generate a breakpoint specifying the theme, a breakpoint name, its label, the media query, its weight and multipliers'
|
||||
execution: |
|
||||
drupal generate:breakpoint \
|
||||
--theme="classy" \
|
||||
--breakpoints='"breakpoint_name":"narrow", "breakpoint_label":"narrow", "breakpoint_media_query":"all and (min-width: 560px) and (max-width: 850px)", "breakpoint_weight":"1", "breakpoint_multipliers":"1x"'
|
@@ -0,0 +1,18 @@
|
||||
description: 'Generate a cache context'
|
||||
help: 'The <info>generate:cache:context</info> command helps you generates a new cache context'
|
||||
welcome: 'Welcome to the Drupal Cache Context generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
name: 'The cache context name'
|
||||
class: 'Cache context class name'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
name: 'Enter the cache context name'
|
||||
class: 'Cache context class name'
|
||||
examples:
|
||||
- description: 'Generate cache for a context specifying the module, the context name and its class'
|
||||
execution: |
|
||||
drupal generate:cache:context \
|
||||
--module="modulename" \
|
||||
--cache-context="ContextName" \
|
||||
--class="DefaultCacheContext"
|
@@ -0,0 +1,32 @@
|
||||
description: 'Generate commands for the console.'
|
||||
help: 'The <info>generate:command</info> command helps you generate a new command.'
|
||||
welcome: 'Welcome to the Drupal Command generator'
|
||||
options:
|
||||
extension: 'The name of the Extension (modules, profiles or themes name that will contain the command).'
|
||||
extension-type: 'The type of the Extension (can be module, profile or theme).'
|
||||
class: 'The Class that describes the command. (Must end with the word ''Command'').'
|
||||
name: 'The Command name.'
|
||||
interact: 'Add interact method.'
|
||||
initialize: 'Add initialize method.'
|
||||
container-aware: 'Is the command aware of the drupal site installation when executed?'
|
||||
services: 'Load services from the container.'
|
||||
generator: 'Add a Generator class for this command.'
|
||||
questions:
|
||||
extension: 'Enter the extension name'
|
||||
class: 'Enter the Command Class. (Must end with the word ''Command'').'
|
||||
name: 'Enter the Command name.'
|
||||
interact: 'Do you want to add the interact method?'
|
||||
initialize: 'Do you want to add the initialize method?'
|
||||
container-aware: 'Is the command aware of the drupal site installation when executed?'
|
||||
services: 'Enter your service'
|
||||
generator: 'Do you want to add a Generator class?.'
|
||||
messages:
|
||||
title-not-empty: 'Title cannot be empty'
|
||||
examples:
|
||||
- description: 'Generate a command specifying the extension name and type, its class and the name.'
|
||||
execution: |
|
||||
drupal generate:command \
|
||||
--extension="ExtensionName" \
|
||||
--extension-type="module" \
|
||||
--class="DefaultCommand" \
|
||||
--name="CommandName"
|
@@ -0,0 +1,58 @@
|
||||
description: 'Generate a composer.json file'
|
||||
help: 'The <info>"%s"</info> command helps you generate a new composer.json file'
|
||||
welcome: 'Welcome to the Drupal Composer file generator'
|
||||
options:
|
||||
module: common.options.module
|
||||
name: 'Package name'
|
||||
type: 'Package type'
|
||||
description: 'Package description'
|
||||
keywords: 'Package keywords'
|
||||
license: 'License'
|
||||
homepage: 'Project homepage'
|
||||
minimum-stability: 'Mininmal stability'
|
||||
authors: 'Authors of the project'
|
||||
support: 'Support channels'
|
||||
required: 'Required packages'
|
||||
questions:
|
||||
module: common.questions.module
|
||||
name: 'Enter package name'
|
||||
type: 'Enter package type'
|
||||
description: 'Enter package description'
|
||||
add-keywords: 'Do you want to add package keywords?'
|
||||
keyword: 'Enter a keyword or press <info>enter</info> to continue'
|
||||
license: 'Enter license information'
|
||||
homepage: 'Enter project homepage'
|
||||
minimum-stability: 'Enter mininmal stability (stable, dev, alpha, beta and RC)'
|
||||
add-author: 'Do you want to add authors of the project?'
|
||||
add-another-author: 'Do you want to add another authors of the project?'
|
||||
author-name: 'Enter author name or press <info>enter</info> to skip it'
|
||||
author-email: 'Enter author email or press <info>enter</info> to skip it'
|
||||
author-homepage: 'Enter author homepage or press <info>enter</info> to skip it'
|
||||
author-role: 'Enter author role or press <info>enter</info> to skip it'
|
||||
add-support: 'Do you want to add information about support channels?'
|
||||
add-another-support: 'Do you want to add another information about support channels?'
|
||||
support-channel: 'Enter support channel (email, issues, forum, wiki, irc, source, docs, rss)'
|
||||
support-value: 'Enter support channel value'
|
||||
add-required: 'Do you want to add required packages for the project?'
|
||||
add-another-required: 'Do you want to add another required packages for the project?'
|
||||
required-name: 'Enter required package name'
|
||||
required-version: 'Enter required package version'
|
||||
suggestions:
|
||||
description-for-menu: 'A description for the menu entry'
|
||||
examples:
|
||||
- description: 'Generate composer file specifying the module machine name, package name, package type, package description, keywords, lincense, homepage, minimum stability, authors, support channels and required packages'
|
||||
execution: |
|
||||
drupal generate:composer \
|
||||
--module="module_name" \
|
||||
--name="drupal/module_name" \
|
||||
--type="drupal-module" \
|
||||
--description="Package description" \
|
||||
--keywords='Drupal' --keywords='logging' \
|
||||
--license="GPL-2.0+" \
|
||||
--homepage="https://www.drupal.org/project/module_name" \
|
||||
--minimum-stability="stable" \
|
||||
--authors='"name":"Author name", "email":"author@email.com", "homepage":"http://website.com", "role":"Developer"' \
|
||||
--support='"channel":"email", "url":"author@email.com"' \
|
||||
--support='"channel":"source", "url":"http://github.com"' \
|
||||
--required='"name":"drupal/views", "version":"^1.0"' \
|
||||
--required='"name":"drupal/token", "version":"^2.0"'
|
@@ -0,0 +1,30 @@
|
||||
description: 'Generate & Register a controller'
|
||||
help: 'The <info>generate:controller</info> command helps you generate a new controller.'
|
||||
welcome: 'Welcome to the Drupal Controller generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
class: 'Controller Class name'
|
||||
routes: 'The routes, must be an array containing [title, method, path]'
|
||||
services: 'Load services from the container.'
|
||||
test: 'Generate a test class'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
class: 'Enter the Controller class name'
|
||||
title: 'Enter the Controller method title (to stop adding more methods, leave this empty)'
|
||||
method: 'Enter the action method name'
|
||||
path: 'Enter the route path'
|
||||
services: 'Enter your service'
|
||||
test: 'Do you want to generate a unit test class?'
|
||||
messages:
|
||||
title-empty: 'Title must contain a value (you must enter at least one method)'
|
||||
title-already-added: 'Title was already added'
|
||||
method-name-already-added: 'Method name was already added'
|
||||
path-already-added: 'Path was already added'
|
||||
examples:
|
||||
- description: 'Generate controller specifying the module name, the class name and its routes'
|
||||
execution: |
|
||||
drupal generate:controller \
|
||||
--module="modulename" \
|
||||
--class="DefaultController" \
|
||||
--routes='"title":"ControllerMethod", "name":"modulename.default_controller_hello", "method":"hello", "path":"/modulename/hello/{name}"' \
|
||||
--test
|
@@ -0,0 +1,20 @@
|
||||
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"
|
@@ -0,0 +1,26 @@
|
||||
description: 'Generate a new config entity'
|
||||
help: 'The <info>generate:config:entity</info> command helps you generate a new config entity.'
|
||||
welcome: 'Welcome to the Drupal Config Entity generator'
|
||||
options:
|
||||
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: '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"
|
@@ -0,0 +1,46 @@
|
||||
description: 'Generate a new content entity'
|
||||
help: 'The <info>generate:content:entity</info> command helps you generate a new content entity.'
|
||||
welcome: 'Welcome to the Drupal Content Entity generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
entity-class: 'The content entity class'
|
||||
entity-name: 'The content entity name'
|
||||
label: 'The label'
|
||||
has-bundles: 'Entity has bundles'
|
||||
has-forms: 'Entity has forms'
|
||||
has-owner: 'Entity has owner'
|
||||
base-path: 'The base-path for the content entity routes'
|
||||
is-translatable: 'Content entity translatable'
|
||||
has-bundle-permissions: 'Permissions on bundle level'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
entity-class: 'Enter the class of your new content entity'
|
||||
entity-name: 'Enter the machine name of your new content entity'
|
||||
label: 'Enter the label of your new content entity'
|
||||
has-bundles: 'Do you want this (content) entity to have bundles?'
|
||||
has-forms: 'Do you want this (content) entity to have forms?'
|
||||
has-owner: 'Do you want this (content) entity to have an owner?'
|
||||
base-path: 'Enter the base-path for the content entity routes'
|
||||
is-translatable: 'Is your entity translatable?'
|
||||
revisionable: 'Is your entity revisionable?'
|
||||
has-bundle-permissions: 'Do you want this entity to have "per bundle" permissions?'
|
||||
examples:
|
||||
- description: 'Generate a content entity specifying the module, the entity class, the entity name, its path and label'
|
||||
execution: |
|
||||
drupal generate:entity:content \
|
||||
--module="modulename" \
|
||||
--entity-class="DefaultEntity" \
|
||||
--entity-name="default_entity" \
|
||||
--base-path="/admin/structure" \
|
||||
--label="Default entity"
|
||||
- description: 'Generate a translatable and revisionable content entity specifying the module, the entity class, the entity name, its path and label'
|
||||
execution: |
|
||||
drupal generate:entity:content \
|
||||
--module="modulename" \
|
||||
--entity-class="DefaultEntity" \
|
||||
--entity-name="default_entity" \
|
||||
--base-path="/admin/structure" \
|
||||
--label="Default entity" \
|
||||
--is-translatable \
|
||||
--revisionable
|
||||
--has-forms
|
@@ -0,0 +1,25 @@
|
||||
description: 'Generate an event subscriber'
|
||||
help: 'The <info>generate:event:subscriber</info> command helps you generate a new event subscriber.'
|
||||
welcome: 'Welcome to the Drupal Event Subscriber generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
name: 'Service name'
|
||||
class: 'Class name'
|
||||
services: 'Load services from the container.'
|
||||
event-name: 'Enter event name'
|
||||
callback-name: 'Callback function name to handle event'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
name: 'Enter the service name'
|
||||
class: 'Enter the class name'
|
||||
services: 'Enter your service'
|
||||
event-name: 'Enter event name'
|
||||
callback-name: 'Enter the callback function name to handle event'
|
||||
examples:
|
||||
- description: 'Generate an event subscriber specifying the module name, its name, the class and the events to subscribe'
|
||||
execution: |
|
||||
drupal generate:event:subscriber \
|
||||
--module="modulename" \
|
||||
--name="modulename.default" \
|
||||
--class="DefaultSubscriber" \
|
||||
--events='kernel_request'
|
@@ -0,0 +1,31 @@
|
||||
description: 'Generate an implementation of hook_form_alter() or hook_form_FORM_ID_alter'
|
||||
help: 'The <info>"%s"</info> command helps you generate a new "%s"'
|
||||
welcome: 'Welcome to the Drupal Form Alter generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
form-id: 'Form ID to alter'
|
||||
inputs: 'Create inputs in a form.'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
form-id: 'Enter the Form ID to alter'
|
||||
type: 'Enter New field type'
|
||||
label: 'Input label'
|
||||
description: 'Description'
|
||||
default-value: 'Default value'
|
||||
weight: 'Weight for input item'
|
||||
messages:
|
||||
inputs: "You can add form fields to modify form.\nThis is optional, press <info>enter</info> to <info>continue</info>"
|
||||
loading-forms: 'Loading forms definition from Webprofiler module'
|
||||
hide-form-elements: 'Optionally you can select form items for hide'
|
||||
help-already-implemented: 'The hook form alter was already implemented in module "%s"'
|
||||
examples:
|
||||
- description: 'Generate a hook form alter for an empty form specifying the module name'
|
||||
execution: |
|
||||
drupal generate:form:alter \
|
||||
--module="modulename"
|
||||
- description: 'Generate a hook form alter with 2 fields specifying the module name and the inputs'
|
||||
execution: |
|
||||
drupal generate:form:alter \
|
||||
--module="modulename" \
|
||||
--inputs='"name":"inputtext", "type":"text_format", "label":"InputText", "options":"", "description":"Just an input text", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""' \
|
||||
--inputs='"name":"email", "type":"email", "label":"Email", "options":"", "description":"Just an email input", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""'
|
@@ -0,0 +1,57 @@
|
||||
description: 'Generate a new form config'
|
||||
help: 'The <info>generate:form:config</info> command helps you generate a new form config'
|
||||
welcome: 'Welcome to the Drupal Form Config generator'
|
||||
options:
|
||||
module: 'The Module name.'
|
||||
class: 'The form class name'
|
||||
form-id: 'The Form id'
|
||||
services: 'Load services from the container.'
|
||||
config-file: 'Add a config file'
|
||||
inputs: 'Create inputs in a form.'
|
||||
path: 'Enter the form path'
|
||||
menu-link-gen: 'Generate a menu link'
|
||||
menu-link-title: 'A title for the menu link'
|
||||
menu-parent: 'Menu parent'
|
||||
menu-link-desc: 'A description for the menu link'
|
||||
questions:
|
||||
module: 'Enter the module name'
|
||||
class: 'Enter the Form Class name'
|
||||
form-id: 'Enter the Form id'
|
||||
services: 'Enter your service'
|
||||
config-file: 'Do you want to generate a config file?'
|
||||
routing: 'Would you like to register a route for this form?'
|
||||
path: 'Enter the route path'
|
||||
max-amount-characters: 'Maximum amount of characters'
|
||||
textfield-width-in-chars: 'Width of the textfield (in characters)'
|
||||
multiselect-size-in-lines: 'Size of multiselect box (in lines)'
|
||||
input-options: 'Input options separated by comma'
|
||||
menu-link-gen: 'Generate a menu link'
|
||||
menu-link-title: 'Enter a title for the menu link'
|
||||
menu-parent: 'Enter Menu parent'
|
||||
menu-link-desc: 'Enter a description for the menu link'
|
||||
type: 'Enter New field type'
|
||||
label: 'Input label'
|
||||
description: 'Description'
|
||||
default-value: 'Default value'
|
||||
weight: 'Weight for input item'
|
||||
suggestions:
|
||||
description-for-menu: 'A description for the menu entry'
|
||||
examples:
|
||||
- description: 'Generate an empty form with config file specifying the module name, the class, a form id and the path'
|
||||
execution: |
|
||||
drupal generate:form:config \
|
||||
--module="modulename" \
|
||||
--class="DefaultForm" \
|
||||
--form-id="default_form" \
|
||||
--config-file \
|
||||
--path="/modulename/form/default"
|
||||
- description: 'Generate a form with 2 fields and a config file specifying the module name, the class, a form id, the inputs and the path'
|
||||
execution: |
|
||||
drupal generate:form:config \
|
||||
--module="modulename" \
|
||||
--class="DefaultForm" \
|
||||
--form-id="default_form" \
|
||||
--config-file \
|
||||
--inputs='"name":"inputname", "type":"text_format", "label":"InputName", "options":"", "description":"Just a text input", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""' \
|
||||
--inputs='"name":"email", "type":"email", "label":"Email", "options":"", "description":"Just an email input", "maxlength":"", "size":"", "default_value":"", "weight":"0", "fieldset":""' \
|
||||
--path="/modulename/form/default"
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user