You are here

private function EnrollRequestDeclineForm::getCancelUrl in Open Social 8.9

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php \Drupal\social_event\Form\EnrollRequestDeclineForm::getCancelUrl()
  2. 10.0.x modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php \Drupal\social_event\Form\EnrollRequestDeclineForm::getCancelUrl()
  3. 10.1.x modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php \Drupal\social_event\Form\EnrollRequestDeclineForm::getCancelUrl()
  4. 10.2.x modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php \Drupal\social_event\Form\EnrollRequestDeclineForm::getCancelUrl()
2 calls to EnrollRequestDeclineForm::getCancelUrl()
EnrollRequestDeclineForm::buildForm in modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php
Form constructor.
EnrollRequestDeclineForm::submitForm in modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php
Form submission handler.

File

modules/social_features/social_event/src/Form/EnrollRequestDeclineForm.php, line 94

Class

EnrollRequestDeclineForm
Class EnrollRequestDeclineForm.

Namespace

Drupal\social_event\Form

Code

private function getCancelUrl() {
  return Url::fromUserInput($this->redirectDestination
    ->get());
}