BlockContent::getRevisionLog

public BlockContent::getRevisionLog()

Returns the block revision log message.

Return value

string The revision log message.

Overrides BlockContentInterface::getRevisionLog

Deprecated

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

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

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

Please login to continue.