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