public function WardenManager::updateWarden in Warden 8
Same name and namespace in other branches
- 8.2 src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::updateWarden()
- 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\ServiceCode
public function updateWarden() {
$data = $this
->generateSiteData();
$this
->postSiteData($data);
}