Questions tagged [drupal-console]

For questions about the Drupal Console, which consists of a set of command line tools to generate Drupal code.

6 questions
6
votes
7 answers

How do I setup Drupal Console on Windows 7?

How do I install/setup Drupal Console on Windows 7? In the video by the author, the environment used is Linux. I tried to install it on Windows 7, but I wasn't able to use it to generate a module code.
MSN
  • 566
  • 7
  • 13
0
votes
1 answer

Drupal Console With DDEV

I want to install drupal console with composer from DDEV (https://ddev.readthedocs.io/en/stable/) No problem to install Drush with DDEV DDEV cannot be Root. Not populating custom commands or hostadditions because running with root privileges ddev…
0
votes
1 answer

Command "generate:module", is not a valid command name

When running following command for generating module using the drupal console on MacBook air drupal generate: module facing this error - [ERROR] Command "generate: module", is not a valid command name.
omrmankar
  • 21
  • 1
  • 6
0
votes
1 answer

Adding Composer as Manager of Drupal 8

I installed D8 manually but I need Composer to Manage and Install Drush and Drupal Console. I found docs about fresh install, but I would to know if it's possible to add Composer as Drupal components manager after a manual druapl install ? Actually…
webmaster pf
  • 389
  • 1
  • 5
  • 23
0
votes
1 answer

Path "/modules/custom" is invalid while runing drupal generate:module

I'm trying to install a Drupal's plugin while using drupal-console. I run it in /var/www/drupalvm/drupal/web$ I checked my drupal.composer.json file and everything is correct i believe "installer-paths": { "web/core": ["type:drupal-core"], …
0
votes
1 answer

Drupal 8 cache not cleared in development mode

I'm working on a new Drupal 8 project and ran the drupal console "drupal site:mode dev" command. After I created some custom blocks, views or content types. I noticed that when I make changes to template files, the cache isn't cleared automatically.…