function ContactFormInterface::getRedirectUrl
Same name in other branches
- 9 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getRedirectUrl()
- 8.9.x core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getRedirectUrl()
- 10 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getRedirectUrl()
Returns the \Drupal\Core\Url object for redirect path.
Empty redirect property results a \Drupal\Core\Url object of front page.
Return value
\Drupal\Core\Url The redirect \Drupal\Core\Url object.
1 method overrides ContactFormInterface::getRedirectUrl()
- ContactForm::getRedirectUrl in core/
modules/ contact/ src/ Entity/ ContactForm.php - Returns the \Drupal\Core\Url object for redirect path.
File
-
core/
modules/ contact/ src/ ContactFormInterface.php, line 44
Class
- ContactFormInterface
- Provides an interface defining a contact form entity.
Namespace
Drupal\contactCode
public function getRedirectUrl();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.