YAML Encoder

This provides a YAML encoder for use with the serialization framework. Stolen with many thanks from #1897612: Add serializer support for YAML, where there’s been discussion over whether this should live in core or contrib.


Source: https://drupal.org/project/project_module/feed/all