You are here

public function LatestActivityInterface::setUser in Opigno Learning path 8

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

Sets the user entity.

Parameters

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

Return value

\Drupal\opigno_learning_path\LatestActivityInterface The called entity.

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

File

src/LatestActivityInterface.php, line 146

Class

LatestActivityInterface
Provides an interface defining a LatestActivity entity.

Namespace

Drupal\opigno_learning_path

Code

public function setUser(AccountInterface $account);