Node::setRevisionLogMessage

public Node::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/node/src/Entity/Node.php, line 360

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Entity

Code

public function setRevisionLogMessage($revision_log_message) {
  $this->set('revision_log', $revision_log_message);
  return $this;
}
doc_Drupal
2016-10-29 09:30:25
Comments
Leave a Comment

Please login to continue.