You are here

public function BlockContent::getRevisionLog in Drupal 8

Returns the block revision log message.

Return value

string The revision log message.

Overrides BlockContentInterface::getRevisionLog

Deprecated

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage() instead.

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

public function getRevisionLog() {
  return $this
    ->getRevisionLogMessage();
}