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