function ContentExport::parserYAMLObject in Content Export YAML 8
1 call to ContentExport::parserYAMLObject()
File
- src/
ContentExport.php, line 331
Class
- ContentExport
- Created by PhpStorm. User: USER Date: 11/13/18 Time: 2:04 PM
Namespace
Drupal\content_export_yamlCode
function parserYAMLObject($entity) {
$yaml = new Dumper(2);
return $yaml
->dump($entity, PHP_INT_MAX, 0, SymfonyYaml::DUMP_OBJECT);
}