public function Subscription::getCreatedTime in Mailing List 8
Gets the subscription creation timestamp.
Return value
int Creation timestamp of the subscription.
Overrides SubscriptionInterface::getCreatedTime
File
- src/
Entity/ Subscription.php, line 109
Class
- Subscription
- Defines the subscription entity class.
Namespace
Drupal\mailing_list\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}