You are here

public function BlockContent::getRevisionLog in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::getRevisionLog()

Returns the block revision log message.

Return value

string The revision log message.

Overrides BlockContentInterface::getRevisionLog

File

core/modules/block_content/src/Entity/BlockContent.php, line 225
Contains \Drupal\block_content\Entity\BlockContent.

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

public function getRevisionLog() {
  return $this
    ->get('revision_log')->value;
}