You are here

public function BlockContent::getRevisionUser in Drupal 9

Same name and namespace in other branches
  1. 8 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 251

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

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