public function Profile::getRevisionAuthor in Profile 8
Gets the profile revision author.
Return value
\Drupal\user\UserInterface The user entity for the revision author.
Overrides ProfileInterface::getRevisionAuthor
Deprecated
in Profile 1.0-rc5. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead.
File
- src/
Entity/ Profile.php, line 188
Class
- Profile
- Defines the profile entity class.
Namespace
Drupal\profile\EntityCode
public function getRevisionAuthor() {
return $this
->get('revision_uid')->entity;
}