RenderingHelper
class RenderingHelper implements ProtectedContextAwareInterface (View source)
Render Content Dimension Names, Node Labels
These helpers are WORK IN PROGRESS and NOT STABLE YET
Properties
protected NodeTypeManager | $nodeTypeManager | ||
protected array | $contentDimensionsConfiguration |
Methods
void
injectConfigurationManager(ConfigurationManager $configurationManager)
No description
string
renderDimensions(array $dimensions)
Render a human-readable description for the passed $dimensions
array
findPresetInDimension(array $dimensionConfiguration, string $dimensionValue)
No description
string
labelForNodeType(string $nodeTypeName)
Render the label for the given $nodeTypeName
bool
allowsCallOfMethod(string $methodName)
All methods are considered safe
Details
void
injectConfigurationManager(ConfigurationManager $configurationManager)
No description
string
renderDimensions(array $dimensions)
Render a human-readable description for the passed $dimensions
protected array
findPresetInDimension(array $dimensionConfiguration, string $dimensionValue)
No description
string
labelForNodeType(string $nodeTypeName)
Render the label for the given $nodeTypeName
bool
allowsCallOfMethod(string $methodName)
All methods are considered safe