You are here

public function SubscriptionForm::setFormDestination in Mailing List 8

Sets the form destination.

Parameters

string $destination: The new destination. One subscription entity link id, like 'canonical'.

File

src/Form/SubscriptionForm.php, line 164

Class

SubscriptionForm
Form controller for mailing list subscription form.

Namespace

Drupal\mailing_list\Form

Code

public function setFormDestination($destination) {
  $this->destination = $destination;
}