public function RevisionLogEntityTrait::setRevisionLogMessage in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php \Drupal\Core\Entity\RevisionLogEntityTrait::setRevisionLogMessage()
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().
1 method overrides RevisionLogEntityTrait::setRevisionLogMessage()
- BlockContent::setRevisionLogMessage in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().
File
- core/
lib/ Drupal/ Core/ Entity/ RevisionLogEntityTrait.php, line 110
Class
- RevisionLogEntityTrait
- Provides a trait for accessing revision logging and ownership information.
Namespace
Drupal\Core\EntityCode
public function setRevisionLogMessage($revision_log_message) {
$this->{static::getRevisionMetadataKey($this
->getEntityType(), 'revision_log_message')}->value = $revision_log_message;
return $this;
}