BlockContent::setRevisionLog

public BlockContent::setRevisionLog($revision_log)

Sets the block revision log message.

Parameters

string $revision_log: The revision log message.

Return value

\Drupal\block_content\BlockContentInterface The class instance that this method is called on.

Overrides BlockContentInterface::setRevisionLog

Deprecated

in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage() instead.

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

public function setRevisionLog($revision_log) {
  return $this->setRevisionLogMessage($revision_log);
}
doc_Drupal
2016-10-29 08:46:45
Comments
Leave a Comment

Please login to continue.