class RenderingHelper implements ProtectedContextAwareInterface (View source)

Render Content Dimension Names, Node Labels

These helpers are WORK IN PROGRESS and NOT STABLE YET

Methods

string
renderDimensions(array $dimensions)

Render a human-readable description for the passed $dimensions

string
labelForNodeType(string $nodeTypeName)

Render the label for the given $nodeTypeName

bool
allowsCallOfMethod(string $methodName)

All methods are considered safe

Details

string renderDimensions(array $dimensions)

Render a human-readable description for the passed $dimensions

Parameters

array $dimensions

Return Value

string

string labelForNodeType(string $nodeTypeName)

Render the label for the given $nodeTypeName

Parameters

string $nodeTypeName

Return Value

string

Exceptions

NodeTypeNotFoundException

bool allowsCallOfMethod(string $methodName)

All methods are considered safe

Parameters

string $methodName

Return Value

bool