You are here

public function SitewideAlertInterface::setRevisionUserId in Sitewide Alert 8

Sets the Sitewide Alert revision author.

Parameters

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

Return value

\Drupal\sitewide_alert\Entity\SitewideAlertInterface The called Sitewide Alert entity.

Overrides RevisionLogInterface::setRevisionUserId

File

src/Entity/SitewideAlertInterface.php, line 97

Class

SitewideAlertInterface
Provides an interface for defining Sitewide Alert entities.

Namespace

Drupal\sitewide_alert\Entity

Code

public function setRevisionUserId($uid);