function BlockContent::setRevisionUser
Same name in other branches
- 9 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.