ContactForm::setRedirectPath

public ContactForm::setRedirectPath($redirect)

Sets the redirect path.

Parameters

string $redirect: The desired path.

Return value

$this

Overrides ContactFormInterface::setRedirectPath

File

core/modules/contact/src/Entity/ContactForm.php, line 152

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function setRedirectPath($redirect) {
  $this->redirect = $redirect;
  return $this;
}
doc_Drupal
2016-10-29 08:56:21
Comments
Leave a Comment

Please login to continue.