function BlockContent::setRevisionLog

Sets the block revision log message.

Parameters

string $revision_log: The revision log message.

Return value

$this The class instance that this method is called on.

Overrides BlockContentInterface::setRevisionLog

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

public function setRevisionLog($revision_log) {
    return $this->setRevisionLogMessage($revision_log);
}

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