You are here

public function BlockContent::getRevisionUser in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::getRevisionUser()
  2. 10 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::getRevisionUser()

Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().

Overrides RevisionLogEntityTrait::getRevisionUser

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

public function getRevisionUser() {
  return $this
    ->get('revision_user')->entity;
}