BlockContent::getRevisionLogMessage

public BlockContent::getRevisionLogMessage()

Returns the entity revision log message.

Return value

string The revision log message.

Overrides RevisionLogInterface::getRevisionLogMessage

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

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

Please login to continue.