public function SubscriptionsBlockForm::setUniqueId in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Form/SubscriptionsBlockForm.php \Drupal\simplenews\Form\SubscriptionsBlockForm::setUniqueId()
- 8 src/Form/SubscriptionsBlockForm.php \Drupal\simplenews\Form\SubscriptionsBlockForm::setUniqueId()
Setup unique ID.
Parameters
string $id: Subscription block unique form ID.
File
- src/
Form/ SubscriptionsBlockForm.php, line 44
Class
- SubscriptionsBlockForm
- Add subscriptions for authenticated user or new subscriber.
Namespace
Drupal\simplenews\FormCode
public function setUniqueId($id) {
$this->uniqueId = $id;
}