Node::getRevisionLogMessage

public Node::getRevisionLogMessage()

Returns the entity revision log message.

Return value

string The revision log message.

Overrides RevisionLogInterface::getRevisionLogMessage

File

core/modules/node/src/Entity/Node.php, line 353

Class

Node
Defines the node entity class.

Namespace

Drupal\node\Entity

Code

public function getRevisionLogMessage() {
  return $this->get('revision_log')->value;
}
doc_Drupal
2016-10-29 09:30:21
Comments
Leave a Comment

Please login to continue.