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
public function getRevisionUser() { return $this->get('revision_user')->entity; }
Please login to continue.