Class YuiPluginHelper
java.lang.Object
org.hippoecm.frontend.plugins.yui.YuiPluginHelper
Helper class for retrieving an
IYuiManager
from the provided IPluginContext
and
an IPluginConfig
instance with name "yui.config" from the provided IPluginConfig
parent.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IPluginConfig
getConfig
(IPluginConfig config) Check if the providedIPluginConfig
has a childIPluginConfig
with name "yui.config".
-
Constructor Details
-
YuiPluginHelper
public YuiPluginHelper()
-
-
Method Details
-
getConfig
Check if the providedIPluginConfig
has a childIPluginConfig
with name "yui.config". If so, return it, else return null.- Parameters:
config
- TheIPluginConfig
to will be used as lookup entrypoint.- Returns:
- An
IPluginConfig
instance or null if not found
-