public function ActivitySendEmailController::userEditPage in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.php \Drupal\activity_send_email\Controller\ActivitySendEmailController::userEditPage()
- 10.1.x modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.php \Drupal\activity_send_email\Controller\ActivitySendEmailController::userEditPage()
- 10.2.x modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.php \Drupal\activity_send_email\Controller\ActivitySendEmailController::userEditPage()
Redirect to user edit page.
Return value
\Symfony\Component\HttpFoundation\RedirectResponse Return Redirect to the user account.
1 string reference to 'ActivitySendEmailController::userEditPage'
- activity_send_email.routing.yml in modules/
custom/ activity_send/ modules/ activity_send_email/ activity_send_email.routing.yml - modules/custom/activity_send/modules/activity_send_email/activity_send_email.routing.yml
File
- modules/
custom/ activity_send/ modules/ activity_send_email/ src/ Controller/ ActivitySendEmailController.php, line 20
Class
- ActivitySendEmailController
- Controller class for activity send email module.
Namespace
Drupal\activity_send_email\ControllerCode
public function userEditPage() {
return $this
->redirect('entity.user.edit_form', [
'user' => $this
->currentUser()
->id(),
]);
}