public function EntityLegalDocumentVersion::getCreatedTime in Entity Legal 3.0.x
Same name and namespace in other branches
- 8.2 src/Entity/EntityLegalDocumentVersion.php \Drupal\entity_legal\Entity\EntityLegalDocumentVersion::getCreatedTime()
- 4.0.x src/Entity/EntityLegalDocumentVersion.php \Drupal\entity_legal\Entity\EntityLegalDocumentVersion::getCreatedTime()
Gets the legal document version creation timestamp.
Return value
int Creation timestamp of the legal document version.
Overrides EntityLegalDocumentVersionInterface::getCreatedTime
1 call to EntityLegalDocumentVersion::getCreatedTime()
- EntityLegalDocumentVersion::getFormattedDate in src/
Entity/ EntityLegalDocumentVersion.php - Get the date for a given entity property.
File
- src/
Entity/ EntityLegalDocumentVersion.php, line 135
Class
- EntityLegalDocumentVersion
- Defines the entity legal document version entity.
Namespace
Drupal\entity_legal\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}