public function BlockContent::setRevisionLog in Drupal 8
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
Deprecated
in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage() instead.
File
- core/
modules/ block_content/ src/ Entity/ BlockContent.php, line 243
Class
- BlockContent
- Defines the custom block entity class.
Namespace
Drupal\block_content\EntityCode
public function setRevisionLog($revision_log) {
return $this
->setRevisionLogMessage($revision_log);
}