Skip to content
Snippets Groups Projects
Commit b69e2718 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2272055 by Xano: Fix doc blocks for AccountProxyInterface

parent 6c4b0bd5
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment