SitesController
class SitesController extends AbstractModuleController (View source)
The Neos Sites Management module controller
Traits
A trait to add backend translation based on the backend users settings
Properties
protected Service | $_localizationService | from BackendUserTranslationTrait | |
protected UserService | $_userService | from BackendUserTranslationTrait | |
protected array | $moduleConfiguration | from AbstractModuleController | |
protected DomainRepository | $domainRepository | ||
protected SiteRepository | $siteRepository | ||
protected NodeDataRepository | $nodeDataRepository | ||
protected ContextFactoryInterface | $nodeContextFactory | ||
protected NodeService | $nodeService | ||
protected NodeTypeManager | $nodeTypeManager | ||
protected WorkspaceRepository | $workspaceRepository | ||
protected AssetCollectionRepository | $assetCollectionRepository | ||
protected PackageManager | $packageManager | ||
protected SiteImportService | $siteImportService | ||
protected SiteService | $siteService | ||
protected SessionInterface | $session |
Methods
Set the locale according to the user settings
Use this method to set an alternative title than the module label
No description
Display no flash message at all on errors.
No description
Create a new site-package and directly import it.
Import a site from site package.
Create a new empty site.
No description
Details
protected void
initializeObject()
Set the locale according to the user settings
protected void
initializeAction()
No description
protected void
initializeView(ViewInterface $view)
No description
void
setTitle(string $title)
Use this method to set an alternative title than the module label
void
indexAction()
No description
protected Message
getErrorFlashMessage()
Display no flash message at all on errors.
injectThrowableStorage(ThrowableStorageInterface $throwableStorage)
No description
void
editAction(Site $site)
A edit view for a site and its settings.
void
updateSiteAction(Site $site, string $newSiteNodeName)
Update a site
void
newSiteAction(Site $site = null)
Create a new site form.
void
createSitePackageAction(string $packageKey, string $siteName)
Create a new site-package and directly import it.
void
importSiteAction(string $packageKey)
Import a site from site package.
void
createSiteNodeAction(string $packageKey, string $siteName, string $nodeType)
Create a new empty site.
void
deleteSiteAction(Site $site)
Delete a site.
void
activateSiteAction(Site $site)
Activates a site
void
deactivateSiteAction(Site $site)
Deactivates a site
void
editDomainAction(Domain $domain)
Edit a domain
void
updateDomainAction(Domain $domain)
Update a domain
void
createDomainAction(Domain $domain)
Create a domain
void
deleteDomainAction(Domain $domain)
Deletes a domain attached to a site
void
activateDomainAction(Domain $domain)
Activates a domain
void
deactivateDomainAction(Domain $domain)
Deactivates a domain
protected void
unsetLastVisitedNodeAndRedirect(string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = [], int $delay = 0, int $statusCode = 303, string $format = null)
No description