You are here

public function WardenManager::updateWarden in Warden 8

Same name and namespace in other branches
  1. 8.2 src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::updateWarden()
  2. 3.x src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::updateWarden()

Update Warden with latest site data.

Throws

\Exception If any problems occur.

File

src/Service/WardenManager.php, line 209

Class

WardenManager
Default controller for the warden module.

Namespace

Drupal\warden\Service

Code

public function updateWarden() {
  $data = $this
    ->generateSiteData();
  $this
    ->postSiteData($data);
}