BlockContent::getRevisionUser

public BlockContent::getRevisionUser()

Gets the entity revision author.

Return value

\Drupal\user\UserInterface The user entity for the revision author.

Overrides RevisionLogInterface::getRevisionUser

File

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

Class

BlockContent
Defines the custom block entity class.

Namespace

Drupal\block_content\Entity

Code

1
2
3
public function getRevisionUser() {
  return $this->get('revision_user')->entity;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.