Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 314212

generate-theme command puts quotes around YAML keys with spaces in them

$
0
0

Problem/Motivation

The generate-theme command puts quotes around the 'base theme' YAML key in the generated theme's info.yml file, because it has spaces in it:

'base theme': stable9

Steps to reproduce

Do

$ php core/scripts/drupal generate-theme my_theme

and inspect the generated code.

Proposed resolution

AFAIK from my work on Module Builder, this is caused by Symfony's YAML dumper component.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 314212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>