public function ContentHubSubscription::getCreated in Acquia Content Hub 8
Obtains the "created" flag for this subscription.
Return value
string The date when the subscription was created.
File
- src/
ContentHubSubscription.php, line 137
Class
- ContentHubSubscription
- Handles operations on the Acquia Content Hub Subscription.
Namespace
Drupal\acquia_contenthubCode
public function getCreated() {
if ($this->settings) {
return $this->settings
->getCreated();
}
else {
if ($settings = $this->clientManager
->createRequest('getSettings')) {
return $settings
->getCreated();
}
return FALSE;
}
}