Commit b69e2718 authored by jhodgdon's avatar jhodgdon

Issue #2272055 by Xano: Fix doc blocks for AccountProxyInterface

parent 6c4b0bd5
......@@ -13,23 +13,20 @@
interface AccountProxyInterface extends AccountInterface {
/**
* Set the current wrapped account.
* Sets the currently wrapped account.
*
* Setting the current account is highly discouraged! Instead, make sure to
* inject the desired user object into the dependent code directly
*
* @param \Drupal\Core\Session\AccountInterface
* @param \Drupal\Core\Session\AccountInterface $account
* The current account.
*/
public function setAccount(AccountInterface $account);
/**
* Set the current wrapped account.
* Gets the currently wrapped account.
*
* Setting the current account is highly discouraged! Instead, make sure to
* inject the desired user object into the dependent code directly
*
* @param \Drupal\Core\Session\AccountInterface
* @return \Drupal\Core\Session\AccountInterface
* The current account.
*/
public function getAccount();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment