EditUserTrait ​
- Type
- Trait
- Namespace
- craft\controllers
- Implemented by
- craft\controllers\UsersController
- Since
- 5.1.0
Trait EditUserTrait
Protected Methods ​
Method | Description |
---|---|
asEditUserScreen() | Prepares the response for a user management screen. |
editedUser() | Returns the user being edited. |
asEditUserScreen()
​
Prepares the response for a user management screen.
Arguments ​
$user
(craft\elements\User)$screen
(string)
Returns ​
Throws ​
editedUser()
​
Returns the user being edited.