public function ExportEntity::getOwner in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::getOwner()
- 3.x src/Entity/ExportEntity.php \Drupal\content_synchronizer\Entity\ExportEntity::getOwner()
Returns the entity owner's user entity.
Return value
\Drupal\user\UserInterface The owner user entity.
Overrides EntityOwnerInterface::getOwner
File
- src/
Entity/ ExportEntity.php, line 116
Class
- ExportEntity
- Defines the Export entity entity.
Namespace
Drupal\content_synchronizer\EntityCode
public function getOwner() {
return $this
->get('user_id')->entity;
}