drupal-console icon indicating copy to clipboard operation
drupal-console copied to clipboard

`generate:cache:context` puts plugin in 'CacheContext' folder instead of 'Cache/Context'

Open superromeo opened this issue 4 years ago • 2 comments

Used command:

drupal generate:cache:context \
--module="rg_location"  \
--cache-context="current_city"  \
--class="CurrentLocationCacheContext"

superromeo avatar Nov 12 '19 11:11 superromeo

Hi @superromeo thank you for your report.

Could you share a full example of the correct code, in that way is easier for us to follow and fix the generator.

enzolutions avatar Nov 12 '19 17:11 enzolutions

It was full command I used :)

superromeo avatar Nov 13 '19 06:11 superromeo