You are here

public function LPStatusInterface::setUser in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x src/LPStatusInterface.php \Drupal\opigno_learning_path\LPStatusInterface::setUser()

Sets the user entity.

Parameters

\Drupal\Core\Session\AccountInterface $account: User account.

Return value

\Drupal\opigno_learning_path\LPStatusInterface The called entity.

1 method overrides LPStatusInterface::setUser()
LPStatus::setUser in src/Entity/LPStatus.php
Sets the user entity.

File

src/LPStatusInterface.php, line 90

Class

LPStatusInterface
Provides an interface defining a User Learning Path Attempt Status entity.

Namespace

Drupal\opigno_learning_path

Code

public function setUser(AccountInterface $account);