class InstallationService (View source)

A class that enables multisite support on a single Concrete installation. Responsible for detecting whether multisite is enabled, and responsible for enabling multisite, creating shared folders, etc.

..

Properties

protected Repository $config
protected Service $siteService
protected Service $siteTypeService
protected EntityManager $entityManager
protected Filesystem $filesystem
protected Applier $permissionsApplier
protected Service $userGroupService

Methods

__construct(Repository $config, Service $siteService, Service $siteTypeService, EntityManager $entityManager, Filesystem $filesystem, Applier $permissionsApplier, Service $userGroupService)

No description

bool
isMultisiteEnabled()

No description

enableMultisite()

No description

validateEnvironment()

No description

populateDefaultSiteTypeData()

No description

createSharedFilesFolders()

No description

createMultisiteUserGroup()

No description

createDefaultNotificationSubscriptions()

Takes care of adding "/Sites" to workflow notifications

Details

__construct(Repository $config, Service $siteService, Service $siteTypeService, EntityManager $entityManager, Filesystem $filesystem, Applier $permissionsApplier, Service $userGroupService)

No description

Parameters

Repository $config
Service $siteService
Service $siteTypeService
EntityManager $entityManager
Filesystem $filesystem
Applier $permissionsApplier
Service $userGroupService

bool isMultisiteEnabled()

No description

Return Value

bool

enableMultisite()

No description

validateEnvironment()

No description

private populateDefaultSiteTypeData()

No description

private createSharedFilesFolders()

No description

private createMultisiteUserGroup()

No description

private createDefaultNotificationSubscriptions()

Takes care of adding "/Sites" to workflow notifications