public function AcsfSite::save in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 src/AcsfSite.php \Drupal\acsf\AcsfSite::save()
Saves the internal state of this site.
1 call to AcsfSite::save()
- AcsfSite::saveSiteInfo in src/
AcsfSite.php - Saves new site information.
File
- src/
AcsfSite.php, line 197
Class
- AcsfSite
- AcsfSite.
Namespace
Drupal\acsfCode
public function save() {
$context = $this->info;
$event = AcsfEvent::create('acsf_site_data_save', $context);
$event
->run();
$this->info = $event->context;
$this->variableStorage
->set('acsf_site_info', $this->info, 'site_info');
}