public function ContentHubSubscription::getUuid in Acquia Content Hub 8
Get Subscription's UUID.
Return value
string The subscription's UUID.
File
- src/
ContentHubSubscription.php, line 119
Class
- ContentHubSubscription
- Handles operations on the Acquia Content Hub Subscription.
Namespace
Drupal\acquia_contenthubCode
public function getUuid() {
if ($this->settings) {
return $this->settings
->getUuid();
}
else {
if ($settings = $this->clientManager
->createRequest('getSettings')) {
return $settings
->getUuid();
}
return FALSE;
}
}