public function RevisionLogEntityTrait::getRevisionUser in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php \Drupal\Core\Entity\RevisionLogEntityTrait::getRevisionUser()
- 9 core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php \Drupal\Core\Entity\RevisionLogEntityTrait::getRevisionUser()
Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().
1 method overrides RevisionLogEntityTrait::getRevisionUser()
- BlockContent::getRevisionUser in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().
File
- core/
lib/ Drupal/ Core/ Entity/ RevisionLogEntityTrait.php, line 84
Class
- RevisionLogEntityTrait
- Provides a trait for accessing revision logging and ownership information.
Namespace
Drupal\Core\EntityCode
public function getRevisionUser() {
return $this->{$this
->getEntityType()
->getRevisionMetadataKey('revision_user')}->entity;
}