ContactForm::getRedirectUrl

public ContactForm::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. Overrides ContactFormInterface::getRedirectUrl File core/modules/contact/src/Entity/ContactForm.php, line 139 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code public function getRedirectUrl() { if ($this->redirect) { $url = Url::fromUserInput($thi

ContactForm::getRedirectPath

public 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 132 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code public function getRedirectPath() { return $this->redirect; }

ContactForm::getRecipients

public ContactForm::getRecipients() Returns list of recipient email addresses. Return value array List of recipient email addresses. Overrides ContactFormInterface::getRecipients File core/modules/contact/src/Entity/ContactForm.php, line 117 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code public function getRecipients() { return $this->recipients; }

ContactForm::getMessage

public ContactForm::getMessage() Returns the message to be displayed to user. Return value string A user message. Overrides ContactFormInterface::getMessage File core/modules/contact/src/Entity/ContactForm.php, line 102 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code public function getMessage() { return $this->message; }

ContactForm::$weight

The weight of the category. Type: int File core/modules/contact/src/Entity/ContactForm.php, line 97 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $weight = 0;

ContactForm::$reply

An auto-reply message. Type: string File core/modules/contact/src/Entity/ContactForm.php, line 90 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $reply = '';

ContactForm::$redirect

The path to redirect to on form submission. Type: string File core/modules/contact/src/Entity/ContactForm.php, line 83 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $redirect;

ContactForm::$recipients

List of recipient email addresses. Type: array File core/modules/contact/src/Entity/ContactForm.php, line 76 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $recipients = array();

ContactForm::$message

The message displayed to user on form submission. Type: string File core/modules/contact/src/Entity/ContactForm.php, line 69 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $message;

ContactForm::$label

The human-readable label of the category. Type: string File core/modules/contact/src/Entity/ContactForm.php, line 62 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $label;