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.

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.

This method is replaced by the Neos.Ui package via an aspect to add the needed markup for inline editing.

Parameters

NodeInterface $node
string $property
string $content

Return Value

string