class ContentElementEditableService (View source)

The content element editable service adds the necessary markup around a content element such that it can be edited using the inline editing of the Neos Backend.

Properties

protected PrivilegeManagerInterface $privilegeManager
protected AuthorizationService $nodeAuthorizationService
protected HtmlAugmenter $htmlAugmenter

Methods

string
wrapContentProperty(NodeInterface $node, string $property, string $content)

Wrap the $content identified by $node with the needed markup for the backend.

Details

string wrapContentProperty(NodeInterface $node, string $property, string $content)

Wrap the $content identified by $node with the needed markup for the backend.

Parameters

NodeInterface $node
string $property
string $content

Return Value

string