public BlockContent::getRevisionUserId()
Gets the entity revision author ID.
Return value
int The user ID.
Overrides RevisionLogInterface::getRevisionUserId
File
- core/modules/block_content/src/Entity/BlockContent.php, line 266
Class
- BlockContent
- Defines the custom block entity class.
Namespace
Drupal\block_content\Entity
Code
public function getRevisionUserId() { return $this->get('revision_user')->entity->id(); }
Please login to continue.