ActivitySendEmailController.php in Open Social 10.1.x
Same filename and directory in other branches
- 10.3.x modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.php
- 10.0.x modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.php
- 10.2.x modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.php
Namespace
Drupal\activity_send_email\ControllerFile
modules/custom/activity_send/modules/activity_send_email/src/Controller/ActivitySendEmailController.phpView source
<?php
namespace Drupal\activity_send_email\Controller;
use Drupal\Core\Controller\ControllerBase;
/**
* Controller class for activity send email module.
*
* @package Drupal\activity_send_email\Controller
*/
class ActivitySendEmailController extends ControllerBase {
/**
* Redirect to user edit page.
*
* @return \Symfony\Component\HttpFoundation\RedirectResponse
* Return Redirect to the user account.
*/
public function userEditPage() {
return $this
->redirect('entity.user.edit_form', [
'user' => $this
->currentUser()
->id(),
]);
}
}
Classes
Name | Description |
---|---|
ActivitySendEmailController | Controller class for activity send email module. |