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

comments in .info.yml problem

$
0
0

YAML should allow comment at the end. http://symfony.com/doc/current/components/yaml/yaml_format.html#comments
But in my "hello_world.info.yml" file, I can add # comments to all the field, except "type:".

Following does work:

# Machine name is hello_world
name: Hello World Module # required
description: My First D8 Module. A simple hello world module. # required
type: module
core: 8.x # required
# optional settings below.
package: Custom
dependencies:
  - node
  - block
 

But NOT

# Machine name is hello_world
name: Hello World Module # required
description: My First D8 Module. A simple hello world module. # required
type: module # required
core: 8.x # required
# optional settings below.
package: Custom
dependencies:
  - node
  - block

Viewing all articles
Browse latest Browse all 292343

Trending Articles



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