YAML Sandbox
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
The YAML Sandbox module provides a textarea at /yaml_sandbox that accepts YAML as input and then parses and displays the resulting PHP data. It uses the DrupalComponentSerializationYaml class do to the parsing and thus provides an accurate representation how your YAML data will be represented in Drupal.
The module exists to help educate developers on the use of YAML within Drupal and allows them to map their YAML markup to PHP data structures and hopefully gain a better understanding of how the YAML format works.
The parsed YAML is echoed to the screen using the PHP var_dump()
function. For even prettier results enable xdebug's pretty printing. http://xdebug.org/docs/display
Note: This module doesn't provide any additional functionality that you would ever need on your production site. So install it in a Drupal 8 sandbox, or on your localhost.