SiteAliasManagerInitializationInterface
interface SiteAliasManagerInitializationInterface (View source)
Site Alias manager methods used to set up the object.
Methods
setReferenceData($data)
Allow configuration data to be used in replacements in the alias file.
$this
setRoot(string $root)
Inject the root of the selected site
$this
addSearchLocation(string $path)
Add a search location to our site alias discovery object.
$this
addSearchLocations(array $paths)
Add search locations to our site alias discovery object.
Details
setReferenceData($data)
Allow configuration data to be used in replacements in the alias file.
$this
setRoot(string $root)
Inject the root of the selected site
$this
addSearchLocation(string $path)
Add a search location to our site alias discovery object.
$this
addSearchLocations(array $paths)
Add search locations to our site alias discovery object.
$this
setSelf(SiteAlias $selfSiteAlias)
Force-set the current @self alias.