Basic example
Example form input with the resulting output
Example using a dynamic variable and dependency injection
Using a variable $content_type.
The YAML To PHP module converts a YAML snippet or a complete configuration object to a PHP formatted array at:
admin/config/development/yaml2php
This is a development helper module to generate a code snippet to copy and paste into your own code.
Example form input with the resulting output
Using a variable $content_type.
Convert a YAML snippet or a YAML file to a PHP formatted array with a simple form at:
Drupal is a registered trademark of Dries Buytaert.
