function ContactForm::setRedirectPath
Same name in other branches
- 9 core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setRedirectPath()
- 8.9.x core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setRedirectPath()
- 11.x core/modules/contact/src/Entity/ContactForm.php \Drupal\contact\Entity\ContactForm::setRedirectPath()
Overrides ContactFormInterface::setRedirectPath
File
-
core/
modules/ contact/ src/ Entity/ ContactForm.php, line 163
Class
- ContactForm
- Defines the contact form entity.
Namespace
Drupal\contact\EntityCode
public function setRedirectPath($redirect) {
$this->redirect = $redirect;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.