public function wrapCurrentDocumentMetadata(NodeInterface $node, $content, $typoScriptPath)
{
if ($this->needsMetadata($node, true) === false) {
return $content;
}
$attributes = [];
$attributes['data-node-__typoscript-path'] = $typoScriptPath;
$attributes = $this->addGenericEditingMetadata($attributes, $node);
$attributes = $this->addNodePropertyAttributes($attributes, $node);
$attributes = $this->addDocumentMetadata($attributes, $node);
$attributes = $this->addCssClasses($attributes, $node, []);
return $this->htmlAugmenter->addAttributes($content, $attributes, 'div', ['typeof']);
}