UsersModelRegistration::preprocessForm
Override preprocessForm to load the user plugin group instead of content.
Signature
protected function preprocessForm(JForm
$form,
[mixed
$data = 'user',
[string
$group = 'user']] )
Parameters
-
$form
- A JForm object.
-
$data
- The data expected for the form.
-
$group
- The name of the plugin group to import (defaults to "content").
Returns
- void
Errors/Exceptions
-
Exception
- if there is an error in the form event.
Parent Implementation