You are here

public function WishlistController::shareForm in Commerce Wishlist 8.3

Builds the share form.

Return value

array The rendered form.

File

src/Controller/WishlistController.php, line 168

Class

WishlistController
Provides the wishlist pages.

Namespace

Drupal\commerce_wishlist\Controller

Code

public function shareForm() {
  $form_object = $this
    ->getFormObject('share');
  $form_state = new FormState();
  return $this->formBuilder
    ->buildForm($form_object, $form_state);
}