You are here

public function AcsfSite::saveSiteInfo in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 src/AcsfSite.php \Drupal\acsf\AcsfSite::saveSiteInfo()

Saves new site information.

Parameters

array $site_info: The information to merge.

1 call to AcsfSite::saveSiteInfo()
AcsfSite::refresh in src/AcsfSite.php
Refreshes the site information from the Site Factory.

File

src/AcsfSite.php, line 275

Class

AcsfSite
AcsfSite.

Namespace

Drupal\acsf

Code

public function saveSiteInfo(array $site_info) {
  $this
    ->mergeSiteInfo($site_info);
  $this->last_sf_refresh = time();
  $this
    ->save();
}