function ContactForm::getRedirectPath

Returns the path for redirect.

Return value

string The redirect path.

Overrides ContactFormInterface::getRedirectPath

File

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

Class

ContactForm
Defines the contact form entity.

Namespace

Drupal\contact\Entity

Code

public function getRedirectPath() {
  return $this->redirect;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.