Class CmsTemplatePluginFinder


  • public class CmsTemplatePluginFinder
    extends java.lang.Object
    Helper class for finding the list of active template plugins for the current page.
    • Method Detail

      • getActiveTemplatePluginsFromSitePlugins

        public static com.google.common.collect.Multimap<java.lang.String,​CmsTemplatePlugingetActiveTemplatePluginsFromSitePlugins​(CmsADEConfigData config)
        Gets the active plugins from site plugins only.
        Parameters:
        config - the sitemap configuration for which to get the plugins
        Returns:
        the multimap of active plugins by group
      • getTemplatePlugins

        public com.google.common.collect.Multimap<java.lang.String,​CmsTemplatePlugingetTemplatePlugins()
        Gets the multimap of plugins for the current page by group, with each group sorted and de-duplicated.
        Returns:
        the multimap of plugins