BlockContent::setRevisionLogMessage

public BlockContent::setRevisionLogMessage($revision_log_message)

Sets the entity revision log message.

Parameters

string $revision_log_message: The revision log message.

Return value

$this

Overrides RevisionLogInterface::setRevisionLogMessage

File

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

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;
}
doc_Drupal
2016-10-29 08:46:45
Comments
Leave a Comment

Please login to continue.