YAML Sandbox Example

This project is not covered by Drupal’s security advisory policy.

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 Drupal\Component\Serialization\Yaml 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.

Supporting organizations: 

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Project categories: Developer tools, Import and export
  • Created by eojthebrave on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases