public function EntityLegalDocumentVersionInterface::getFormattedDate in Entity Legal 8.2
Same name and namespace in other branches
- 4.0.x src/EntityLegalDocumentVersionInterface.php \Drupal\entity_legal\EntityLegalDocumentVersionInterface::getFormattedDate()
- 3.0.x src/EntityLegalDocumentVersionInterface.php \Drupal\entity_legal\EntityLegalDocumentVersionInterface::getFormattedDate()
Get the date for a given entity property.
Parameters
string $type: The type of date to retrieve, updated or created.
Return value
string The formatted date.
1 method overrides EntityLegalDocumentVersionInterface::getFormattedDate()
- EntityLegalDocumentVersion::getFormattedDate in src/
Entity/ EntityLegalDocumentVersion.php - Get the date for a given entity property.
File
- src/
EntityLegalDocumentVersionInterface.php, line 60
Class
- EntityLegalDocumentVersionInterface
- Provides an interface defining a entity legal document version entity.
Namespace
Drupal\entity_legalCode
public function getFormattedDate($type = 'changed');