public function ContactFormInterface::getRedirectUrl in Drupal 9
Same name and namespace in other branches
- 8 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::getRedirectUrl()
Returns the url object for redirect path.
Empty redirect property results a url object of front page.
Return value
\Drupal\Core\Url The redirect url object.
1 method overrides ContactFormInterface::getRedirectUrl()
- ContactForm::getRedirectUrl in core/
modules/ contact/ src/ Entity/ ContactForm.php - Returns the 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();