public function BlockContent::setRevisionUserId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::setRevisionUserId()
Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().
Overrides RevisionLogEntityTrait::setRevisionUserId
File
- core/
modules/ block_content/ src/ Entity/ BlockContent.php, line 284
Class
- BlockContent
- Defines the custom block entity class.
Namespace
Drupal\block_content\EntityCode
public function setRevisionUserId($user_id) {
$this
->set('revision_user', $user_id);
return $this;
}