public function BlockContent::setRevisionUserId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::setRevisionUserId()
- 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 270
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;
}