public class RemoveSTKSiteFromSiteModule
extends info.magnolia.module.delta.RemoveNodeTask
RemoveNodeTask
that only removes the site in site module when it points to the correct theme, here
pop
, has the class
property which points to STK's site class and has at least one available page
template, here standard-templating-kit:pages/stkHome
(which comes with STK module).Modifier and Type | Field and Description |
---|---|
protected static String |
PATH_TO_SITE_IN_SITE_MODULE |
Constructor and Description |
---|
RemoveSTKSiteFromSiteModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(info.magnolia.module.InstallContext ctx) |
protected static final String PATH_TO_SITE_IN_SITE_MODULE
protected void doExecute(info.magnolia.module.InstallContext ctx) throws javax.jcr.RepositoryException, info.magnolia.module.delta.TaskExecutionException
doExecute
in class info.magnolia.module.delta.RemoveNodesTask
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException
Copyright © 2008–2016 Magnolia International Ltd.. All rights reserved.