You are here

public function EventInterface::setRevisionUserId in Event 8

Sets the Event revision author.

Parameters

int $uid: The user ID of the revision author.

Return value

\Drupal\event\Entity\EventInterface The called Event entity.

Overrides RevisionLogInterface::setRevisionUserId

File

src/Entity/EventInterface.php, line 112

Class

EventInterface
Provides an interface for defining Event entities.

Namespace

Drupal\event\Entity

Code

public function setRevisionUserId($uid);