function RevisionLogEntityTrait::getRevisionCreationTime
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php \Drupal\Core\Entity\RevisionLogEntityTrait::getRevisionCreationTime()
- 10 core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php \Drupal\Core\Entity\RevisionLogEntityTrait::getRevisionCreationTime()
- 11.x core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php \Drupal\Core\Entity\RevisionLogEntityTrait::getRevisionCreationTime()
Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
1 method overrides RevisionLogEntityTrait::getRevisionCreationTime()
- BlockContent::getRevisionCreationTime in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().
File
-
core/
lib/ Drupal/ Core/ Entity/ RevisionLogEntityTrait.php, line 58
Class
- RevisionLogEntityTrait
- Provides a trait for accessing revision logging and ownership information.
Namespace
Drupal\Core\EntityCode
public function getRevisionCreationTime() {
return $this->{static::getRevisionMetadataKey($this->getEntityType(), 'revision_created')}->value;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.