public function StorageComparer::validateSiteUuid
public StorageComparer::validateSiteUuid()
Validates that the system.site::uuid in the source and target match.
Return value
bool TRUE if identical, FALSE if not.
Overrides StorageComparerInterface::validateSiteUuid
File
- core/lib/Drupal/Core/Config/StorageComparer.php, line 392
Class
- StorageComparer
- Defines a config storage comparer.
Namespace
Drupal\Core\ConfigCode
public function validateSiteUuid() { $source = $this->sourceStorage->read('system.site'); $target = $this->targetStorage->read('system.site'); return $source['uuid'] === $target['uuid']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorageComparer.php/function/StorageComparer::validateSiteUuid/8.1.x