I tried to generate a theme from scratch with Drupal Console by passing arguments as suggested on the doc page.
The desired result: a new theme with no base theme and some regions defined. Yet the theme generator omits the regions in the resulting theme.info.yml file.
Has anyone encountered this?
Drupal Console command line call:
drupal generate:theme \ --theme="Test Theme with Regions" \ --machine-name="test_theme" \ --theme-path="./themes/custom" \ --description="Custom Theme with regions" \ --core="8.x" \ --package="Custom" \ --global-library="global-styling" \ --base-theme="false" \ --regions='"region_name":"Header", "region_machine_name":"header"' \ --regions='"region_name":"Primary menu", "region_machine_name":"primary_menu"'
Resulting theme.info.yml file:
name: Test Theme with Regions type: theme description: 'Custom Theme with regions' package: Custom core: 8.x libraries: - test_theme/global-styling base theme: false regions: