function BlockContentInterface::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.

Deprecated

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage() instead.

1 method overrides BlockContentInterface::setRevisionLog()
BlockContent::setRevisionLog in core/modules/block_content/src/Entity/BlockContent.php
Sets the block revision log message.

File

core/modules/block_content/src/BlockContentInterface.php, line 50

Class

BlockContentInterface
Provides an interface defining a custom block entity.

Namespace

Drupal\block_content

Code

public function setRevisionLog($revision_log);

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