public function ContactFormInterface::setRedirectPath in Drupal 9
Same name and namespace in other branches
- 8 core/modules/contact/src/ContactFormInterface.php \Drupal\contact\ContactFormInterface::setRedirectPath()
Sets the redirect path.
Parameters
string $redirect: The desired path.
Return value
$this
1 method overrides ContactFormInterface::setRedirectPath()
- ContactForm::setRedirectPath in core/
modules/ contact/ src/ Entity/ ContactForm.php - Sets the redirect path.
File
- core/
modules/ contact/ src/ ContactFormInterface.php, line 90
Class
- ContactFormInterface
- Provides an interface defining a contact form entity.
Namespace
Drupal\contactCode
public function setRedirectPath($redirect);