You are here

public function SimpleMegaMenu::getRevisionUser in Simple Mega Menu 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/SimpleMegaMenu.php \Drupal\simple_megamenu\Entity\SimpleMegaMenu::getRevisionUser()

Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().

Overrides RevisionLogEntityTrait::getRevisionUser

1 call to SimpleMegaMenu::getRevisionUser()
SimpleMegaMenu::preSave in src/Entity/SimpleMegaMenu.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/SimpleMegaMenu.php, line 215

Class

SimpleMegaMenu
Defines the Simple mega menu entity.

Namespace

Drupal\simple_megamenu\Entity

Code

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