drupal-console
drupal-console copied to clipboard
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
Starting with this [version of drush](https://packagist.org/packages/drush/drush#11.0.6) there's a dependency on v2 of `consolidation/config` which is a project that Drupal Console ultimately depends on and which can only use v1: ```...
# Problem/Motivation When attepting to install a new site using `site:install` command, the following error is thrown: > console.site_install - You have requested a non-existent service "extension.list.module". ### How to...
### Problem/Motivation As per the [documentation stated](https://drupalconsole.com/docs/en/getting/launcher) ([page source](https://github.com/hechoendrupal/drupalconsole.com/blob/129e0aa739283ddbcb946fdec1061d3ebf5d22e2/content/docs/en/getting/launcher.md)), this is the command to install the console launcher: ``` curl https://drupalconsole.com/installer -L -o drupal.phar mv drupal.phar /usr/local/bin/drupal chmod +x /usr/local/bin/drupal...
to resolve error : Deprecated function: Optional parameter $root declared before required parameter $configuration is implicitly treated as a required parameter in include() (line 571 of C:\Users\I21160Y\Documents\espace2-navigo\vendor\composer\ClassLoader.php). include('C:\Users\I21160Y\Documents\espace2-navigo\web\core\includes\bootstrap.inc') (Line: 571)...
Fixes #4265
### Problem/Motivation Generating a content entity does not create entity table. ### How to reproduce - Drupal 9.0.7 - Drupal console version 1.9.5 ``` bash-5.0$ drupal generate:entity:content // Welcome to...
PHP8 outputs a notice for methods that define optional arguments before required arguments (https://php.watch/versions/8.0/deprecate-required-param-after-optional). Since the DrupalServiceModifier constructor in effect cannot be called without also providing the first argument (even...
### Problem/Motivation Running `drupal database:client` will run into this error: > Error: Class "Symfony\Component\Process\ProcessBuilder" not found in Drupal\Console\Command\Database\ClientCommand->execute() (line 66 of /home/foobar/public_html/vendor/drupal/console/src/Command/Database/ClientCommand.php). This is because the [ProcessBuilder](https://api.drupal.org/api/drupal/vendor%21symfony%21process%21ProcessBuilder.php/class/ProcessBuilder/8.9.x) was deprecated in...
* ProcessBuilder was deprecated in Symfony 3.4 and was removed in Symfony 4.0. Instead, Process should be used directly. * Since Drupal 9 depends on Symfony 4, this rewrite is...
[command:any] [ERROR] Class Drupal\Core\DrupalKernel does not exist. after a composer global update
### Issue title [command:any] [ERROR] Class Drupal\Core\DrupalKernel does not exist. after a composer global update ###short description After a composer global update, any drupal commands generates an error. [ERROR] Class...