Class CmsWidgetUtil


  • public final class CmsWidgetUtil
    extends java.lang.Object
    Utility methods for getting widget informations out of content definitions.

    • Method Detail

      • collectWidgetInfo

        public static CmsWidgetUtil.WidgetInfo collectWidgetInfo​(CmsXmlContentDefinition rootContentDefinition,
                                                                 java.lang.String path)
        Collects widget information for a given content definition and content value path.

        Parameters:
        rootContentDefinition - the content definition
        path - the path relative to the given content definition
        Returns:
        the widget information for the given path