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