UserController
extends ControllerBase
in package
Provide user profile form functionalities.
Table of Contents
Properties
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $moduleHandler : ModuleHandlerInterface
- The entity ModuleHandler.
Methods
- __construct() : mixed
- Constructs a User object.
- autoSaveUserEmailAjax() : mixed
- Ajax function to autosave email on change.
- cancelSession() : mixed
- Function called when user decides to cancel session.
- create() : mixed
- Create container.
Properties
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$moduleHandler
The entity ModuleHandler.
protected
ModuleHandlerInterface
$moduleHandler
Methods
__construct()
Constructs a User object.
public
__construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $moduleHandler) : mixed
Parameters
- $entity_type_manager : EntityTypeManagerInterface
- $moduleHandler : ModuleHandlerInterface
autoSaveUserEmailAjax()
Ajax function to autosave email on change.
public
autoSaveUserEmailAjax(Request $request) : mixed
Parameters
- $request : Request
cancelSession()
Function called when user decides to cancel session.
public
cancelSession(Request $request) : mixed
Parameters
- $request : Request
create()
Create container.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface