public static function AcsfSite::load in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 src/AcsfSite.php \Drupal\acsf\AcsfSite::load()
Factory: loads the current site.
This method will load from static cache if available.
12 calls to AcsfSite::load()
- AcsfCommands::siteScrub in src/
Commands/ AcsfCommands.php - Scrubs sensitive information regarding ACSF.
- AcsfCommands::siteSync in src/
Commands/ AcsfCommands.php - Synchronize data with the Factory.
- AcsfDuplicationScrubInitializeHandler::handle in src/
Event/ AcsfDuplicationScrubInitializeHandler.php - Implements AcsfEventHandler::handle().
- AcsfInitCommands::connectFactory in acsf_init/
src/ Commands/ AcsfInitCommands.php - Connect a site to a factory by setting up the right database variables.
- AcsfLog::log in src/
AcsfLog.php - Logs the specified message to the Site Factory via the REST API.
File
- src/
AcsfSite.php, line 38
Class
- AcsfSite
- AcsfSite.
Namespace
Drupal\acsfCode
public static function load() {
if (!empty(self::$cache)) {
return self::$cache;
}
self::$cache = new static();
return self::$cache;
}