public function BlockContent::setRevisionLogMessage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::setRevisionLogMessage()
- 9 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::setRevisionLogMessage()
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().
Overrides RevisionLogEntityTrait::setRevisionLogMessage
File
- core/
modules/ block_content/ src/ Entity/ BlockContent.php, line 285
Class
- BlockContent
- Defines the custom block entity class.
Namespace
Drupal\block_content\EntityCode
public function setRevisionLogMessage($revision_log_message) {
$this
->set('revision_log', $revision_log_message);
return $this;
}