function BlockContent::setRevisionLogMessage

Same name in other branches
  1. 8.9.x core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::setRevisionLogMessage()

Overrides RevisionLogEntityTrait::setRevisionLogMessage

File

core/modules/block_content/src/Entity/BlockContent.php, line 289

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

public function setRevisionLogMessage($revision_log_message) {
    $this->set('revision_log', $revision_log_message);
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.