public function DataPolicyInterface::setRevisionUserId in Data Policy 8
Sets the Data policy revision author.
Parameters
int $uid: The user ID of the revision author.
Return value
\Drupal\data_policy\Entity\DataPolicyInterface The called Data policy entity.
Overrides RevisionLogInterface::setRevisionUserId
File
- src/
Entity/ DataPolicyInterface.php, line 113
Class
- DataPolicyInterface
- Provides an interface for defining Data policy entities.
Namespace
Drupal\data_policy\EntityCode
public function setRevisionUserId($uid);