Skip to content
Snippets Groups Projects
Verified Commit 4453f44a authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #2936253 by gabesullice: Clarify usage of AccountProxyInterface:...

Issue #2936253 by gabesullice: Clarify usage of AccountProxyInterface: recommend AccountInterface for most use cases
parent e15fce6d
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
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
/** /**
* Defines an interface for a service which has the current account stored. * Defines an interface for a service which has the current account stored.
* *
* It is generally more useful to use \Drupal\Core\Session\AccountInterface
* unless one specifically needs the proxying features of this interface.
*
* @see \Drupal\Core\Session\AccountInterface
*
* @ingroup user_api * @ingroup user_api
*/ */
interface AccountProxyInterface extends AccountInterface { interface AccountProxyInterface extends AccountInterface {
......
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